add node_auth_token to publish
This commit is contained in:
parent
40428cc139
commit
639b156f72
|
|
@ -5,9 +5,6 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Build and release
|
name: Build and release
|
||||||
|
|
@ -30,6 +27,8 @@ jobs:
|
||||||
|
|
||||||
- name: Release chromium on npmjs
|
- name: Release chromium on npmjs
|
||||||
run: npm publish
|
run: npm publish
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||||
|
|
||||||
# Change the package name to chromium-min,
|
# Change the package name to chromium-min,
|
||||||
# delete the bin folder from the files array
|
# delete the bin folder from the files array
|
||||||
|
|
@ -43,6 +42,8 @@ jobs:
|
||||||
|
|
||||||
- name: Release chromium-min on npmjs
|
- name: Release chromium-min on npmjs
|
||||||
run: npm publish
|
run: npm publish
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||||
|
|
||||||
- name: Create Lambda Layer
|
- name: Create Lambda Layer
|
||||||
run: make chromium-${{ github.ref_name }}-layer.zip
|
run: make chromium-${{ github.ref_name }}-layer.zip
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue