Skip to content

Commit 831769e

Browse files
authored
Update publish.yml
1 parent ebd32dd commit 831769e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v2
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: '16'
16-
registry-url: 'https://registry.npmjs.org/'
15+
node-version: '20.x'
16+
registry-url: 'https://registry.npmjs.org'
1717
- run: npm ci
1818
- run: npm test
19-
- run: npm publish
19+
- run: npm publish --provenance --access public
2020
env:
2121
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)