File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 44 tags :
55 - ' [0-9]+.[0-9]+.[0-9]+'
66
7+ permissions :
8+ id-token : write # Required for OIDC
9+ contents : read
10+
711jobs :
812 release :
913 runs-on : ubuntu-latest
@@ -12,17 +16,14 @@ jobs:
1216 - uses : actions/checkout@v4
1317 - uses : actions/setup-node@v4
1418 with :
15- node-version : ' 18'
16- cache : ' yarn'
17- registry-url : https://registry.npmjs.org/
18- - name : Install dependencies
19- run : yarn
20- - name : Test
21- run : yarn test
22- - name : Lint
23- run : yarn lint
24- - run : npm publish --access public
25- env :
26- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
19+ node-version : ' 20'
20+ registry-url : ' https://registry.npmjs.org'
21+ # Ensure npm 11.5.1 or later is installed
22+ - name : Update npm
23+ run : npm install -g npm@latest
24+ - run : npm ci
25+ - run : npm run lint:fail-on-warnings
26+ - run : npm publish
27+
2728 - name : Documentation
28- run : yarn doc:deploy
29+ run : npm run doc:deploy
You can’t perform that action at this time.
0 commit comments