File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 with :
2727 token : ${{ secrets.NPM_TOKEN }}
2828
29- github_publish :
30- runs-on : ubuntu-latest
31-
32- steps :
33- - name : Checkout code
34- uses : actions/checkout@v4
35-
36- - name : Setup Node.js
37- uses : actions/setup-node@v3
38- with :
39- node-version : 20
40-
41- - name : Configure .npmrc for GitHub Packages
42- run : |
43- echo "//npm.pkg.github.com/:_authToken=\${{ secrets.PA_TOKEN }}" > ~/.npmrc
44- echo "@${{ secrets.GITHUB_USERNAME }}:registry=https://npm.pkg.github.com" >> ~/.npmrc
45-
46- - name : Install dependencies
47- run : npm ci
48-
49- - name : Build project
50- run : npm run build
51-
52- - name : Publish to GitHub Packages
53- run : npm publish
54- env :
55- NODE_AUTH_TOKEN : ${{ secrets.PA_TOKEN }}
56-
5729 create_release :
5830 runs-on : ubuntu-latest
59- needs : [npm_publish, github_publish]
6031
6132 steps :
6233 - name : Checkout code
Original file line number Diff line number Diff line change 11{
22 "name" : " modulatecss" ,
3- "version" : " 1.0.33 " ,
3+ "version" : " 1.0.34 " ,
44 "description" : " ..." ,
55 "main" : " dist/css/modulate.min.css" ,
66 "style" : " dist/css/modulate.min.css" ,
You can’t perform that action at this time.
0 commit comments