File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 1- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3-
41name : Node.js Package
52
63on :
3027 draft : false
3128 prerelease : false
3229
33- # build:
34- # runs-on: ubuntu-latest
35- # steps:
36- # - uses: actions/checkout@v2
37- # - uses: actions/setup-node@v1
38- # with:
39- # node-version: 12
40- # - run: npm ci
41- # - run: npm test
42-
4330 publish-npm :
4431 needs : build
4532 runs-on : ubuntu-latest
4936 with :
5037 node-version : 12
5138 registry-url : https://registry.npmjs.org/
52- - run : npm ci
39+ - run : yarn install
40+ - run : yarn build
5341 - run : npm publish
5442 env :
5543 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
6351 with :
6452 node-version : 12
6553 registry-url : https://npm.pkg.github.com/
66- - run : npm ci
67- - run : npm publish
54+ - run : yarn install
55+ - run : yarn build
6856 env :
6957 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments