File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - " v*"
77
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : read
11+
812jobs :
913 build :
1014 runs-on : ubuntu-latest
1115 steps :
1216 - uses : actions/checkout@v4
17+
1318 - uses : actions/setup-node@v4
1419 with :
1520 node-version : 16
21+
1622 - run : npm ci
23+
1724 - run : npm test
1825 env :
1926 IPINFO_TOKEN : ${{secrets.IPINFO_TOKEN}}
27+
2028 publish :
2129 needs : build
2230 runs-on : ubuntu-latest
2331 steps :
2432 - uses : actions/checkout@v4
33+
2534 - uses : actions/setup-node@v4
2635 with :
2736 node-version : 16
2837 registry-url : https://registry.npmjs.org/
38+
39+ - name : Update npm
40+ run : npm install -g npm@latest
41+
2942 - run : npm ci
43+
3044 - run : npm run build
45+
3146 - run : npm publish
32- env :
33- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments