ci: update workflows config.
This commit is contained in:
parent
78d81809ba
commit
65665e88d7
|
|
@ -7,11 +7,14 @@ on:
|
|||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Generate Contributors Images
|
||||
|
|
@ -127,7 +130,7 @@ jobs:
|
|||
user_name: github-actions[bot]
|
||||
user_email: github-actions[bot]@users.noreply.github.com
|
||||
|
||||
- run: npm publish
|
||||
- run: npm publish --access public --provenance
|
||||
continue-on-error: true
|
||||
name: 📦 linux-command publish to NPM
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in New Issue