Skip to content

Commit e7f5be2

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ on:
44
push:
55
branches:
66
- master
7-
87
jobs:
9-
publish:
8+
build:
109
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
1113
steps:
1214
- uses: actions/checkout@v4
1315
- uses: actions/setup-node@v4
1416
with:
1517
node-version: '20.x'
1618
registry-url: 'https://registry.npmjs.org'
1719
- run: npm ci
18-
- run: npm test
1920
- run: npm publish --provenance --access public
2021
env:
21-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)