File tree Expand file tree Collapse file tree 2 files changed +5503
-9050
lines changed
Expand file tree Collapse file tree 2 files changed +5503
-9050
lines changed Original file line number Diff line number Diff line change 11name : npm publish
22on :
3- release :
4- types : [created]
3+ release :
4+ types : [created]
5+
6+ permissions :
7+ id-token : write # Required for OIDC
8+ contents : read
9+
510jobs :
6- build :
7- runs-on : ubuntu-latest
8- steps :
9- - uses : actions/checkout@v2
10- - uses : actions/setup-node@v2
11- with :
12- node-version : ' 16'
13- registry-url : ' https://registry.npmjs.org'
14- - run : npm install
15- - run : npm test
16- - run : npm publish
17- env :
18- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : " 20"
18+ registry-url : " https://registry.npmjs.org"
19+ - run : npm ci
20+ - run : npm test
21+ - run : npm publish
You can’t perform that action at this time.
0 commit comments