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