We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831769e commit e7f5be2Copy full SHA for e7f5be2
.github/workflows/publish.yml
@@ -4,18 +4,19 @@ on:
4
push:
5
branches:
6
- master
7
-
8
jobs:
9
- publish:
+ build:
10
runs-on: ubuntu-latest
+ permissions:
11
+ contents: read
12
+ id-token: write
13
steps:
14
- uses: actions/checkout@v4
15
- uses: actions/setup-node@v4
16
with:
17
node-version: '20.x'
18
registry-url: 'https://registry.npmjs.org'
19
- run: npm ci
- - run: npm test
20
- run: npm publish --provenance --access public
21
env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments