From 639b156f729ab09f579deade4c74b0aab9ea7803 Mon Sep 17 00:00:00 2001 From: Sparticuz Date: Fri, 13 Jan 2023 15:19:55 -0500 Subject: [PATCH] add node_auth_token to publish --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 290c242..3d9f8da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,9 +5,6 @@ on: tags: - "*" -env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - jobs: release: name: Build and release @@ -30,6 +27,8 @@ jobs: - name: Release chromium on npmjs run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} # Change the package name to chromium-min, # delete the bin folder from the files array @@ -43,6 +42,8 @@ jobs: - name: Release chromium-min on npmjs run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - name: Create Lambda Layer run: make chromium-${{ github.ref_name }}-layer.zip