From 911ea4210bce4f0b189d2e924a9f0c926a3dcd87 Mon Sep 17 00:00:00 2001 From: ebenali Date: Mon, 15 Jan 2024 15:59:32 -0800 Subject: [PATCH] ci: make env global --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a31a6c3..947a372 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,6 +6,9 @@ on: release: types: [created] +env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + jobs: build: runs-on: ubuntu-latest @@ -36,5 +39,4 @@ jobs: - run: git push --tags && git push - run: yarn publish - run: yarn npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + \ No newline at end of file