File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 # node-version: 12
1818 # - run: npm ci
1919
20- # publish-npm:
21- # needs: build
22- # runs-on: ubuntu-latest
23- # steps:
24- # - uses: actions/checkout@v2
25- # - uses: actions/setup-node@v1
26- # with:
27- # node-version: 12
28- # registry-url: https://registry.npmjs.org/
29- # - run: npm ci
30- # - run: npm publish
31- # env:
32- # NODE_AUTH_TOKEN: ${{secrets.npm_token}}
33-
3420 publish-gpr :
3521 # needs: build
3622 runs-on : ubuntu-latest
4228 registry-url : https://npm.pkg.github.com/
4329 - run : npm ci
4430 - run : npm build
45- - run : npm publish
31+ - run : npm publish --access public
4632 env :
4733 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
34+
35+ publish-npm :
36+ # needs: build
37+ runs-on : ubuntu-latest
38+ steps :
39+ - uses : actions/checkout@v2
40+ - uses : actions/setup-node@v1
41+ with :
42+ node-version : 12
43+ registry-url : https://registry.npmjs.org/
44+ - run : npm ci
45+ - run : npm build
46+ - run : npm publish
47+ env :
48+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change 11{
22 "name" : " @p-code-magazine/p-code" ,
3- "version" : " 1.0.0-beta.0 " ,
3+ "version" : " 1.0.0-beta.2 " ,
44 "description" : " Implementation of P-Code" ,
55 "main" : " dist/p-code.js" ,
66 "unpkg" : " dist/p-code.js" ,
4040 },
4141 "dependencies" : {
4242 "tone" : " ^13.8.25"
43- },
44- "publishConfig" : {
45- "access" : " public" ,
46- "registry" : " https://npm.pkg.github.com/"
4743 }
4844}
You can’t perform that action at this time.
0 commit comments