File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ name: Node.js Package
55
66on :
77 release :
8- types : [created]
8+ types : [published]
9+ workflow_dispatch :
910
1011permissions :
1112 id-token : write # Required for OIDC
1920 - uses : actions/setup-node@v4
2021 with :
2122 node-version : 20
22- - run : npm ci
23+ - run : npm install
2324 - run : npm test
2425
2526 publish-npm :
3435 registry-url : ' https://registry.npmjs.org/'
3536 - name : Update npm
3637 run : npm install -g npm@latest
37- - run : npm ci
38+ - run : npm install
3839 - run : npm run build --if-present
3940 - run : npm test
4041 - run : npm publish
5051 registry-url : ' https://npm.pkg.github.com'
5152 - name : Update npm
5253 run : npm install -g npm@latest
53- - run : npm ci
54+ - run : npm install
5455 - run : npm run build --if-present
5556 - run : npm test
5657 - run : npm publish
You can’t perform that action at this time.
0 commit comments