File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1- name : Publish Node SDK to GitHub Packages
1+ name : Publish Node SDK to npm
22
33on :
44 workflow_dispatch :
88 runs-on : ubuntu-latest
99 permissions :
1010 contents : read
11- packages : write
1211 steps :
1312 - uses : actions/checkout@v4
1413 - uses : actions/setup-node@v4
1514 with :
1615 node-version : ' 20'
17- registry-url : ' https://npm.pkg.github.com'
18- scope : ' @makeplane'
16+ registry-url : ' https://registry.npmjs.org'
1917
2018 - name : Install dependencies and build
2119 run : npm ci
2220
23- - name : Configure npm for GitHub Packages
24- run : npm config set @makeplane:registry https://npm.pkg.github.com
25-
26- - name : Publish to GitHub Packages
27- run : npm publish
21+ - name : Publish to npm
22+ run : npm publish --access public
2823 env :
29- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments