File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to GHP
2+
3+ on :
4+ workflow_dispatch :
5+ release :
6+ types : [published]
7+ permissions :
8+ contents : write
9+ jobs :
10+ build-gph :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : ' 24.x'
17+ registry-url : ' https://npm.pkg.github.com/'
18+ - run : yarn install --immutable
19+ - run : yarn build
20+ - run : npm publish --access public
21+ env :
22+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1- name : Deploy to NPM and GHP
1+ name : Deploy to NPM
22
33on :
4+ workflow_dispatch :
45 release :
56 types : [published]
67permissions :
1920 - run : npm publish --access public
2021 env :
2122 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
22- build-gph :
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@v3
26- - uses : actions/setup-node@v3
27- with :
28- node-version : ' 24.x'
29- registry-url : https://npm.pkg.github.com/
30- - run : yarn install --immutable
31- - run : yarn build
32- - run : npm publish --access public
33- env :
34- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments