File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : master
66
77jobs :
8- build :
9- runs-on : ubuntu-latest
10-
11- steps :
12- - name : Checkout code
13- uses : actions/checkout@v4
14-
15- - name : Setup Node.js
16- uses : actions/setup-node@v3
17- with :
18- node-version : 20
19- registry-url : ' https://registry.npmjs.org'
20-
21- - name : Install dependencies
22- run : npm ci
23-
24- - name : Build project
25- run : npm run build
26-
27- - name : Upload build artifacts
28- uses : actions/upload-artifact@v3
29- with :
30- name : build-artifacts
31- path : ./build # Adjust this path to your actual build output
32-
338 npm_publish :
349 runs-on : ubuntu-latest
35- needs : build
3610
3711 steps :
3812 - name : Checkout code
5933
6034 github_publish :
6135 runs-on : ubuntu-latest
62- needs : build
6336
6437 steps :
6538 - name : Checkout code
8356 - name : Install dependencies
8457 run : npm ci
8558
59+ - name : Build project
60+ run : npm run build
61+
8662 - name : Publish to GitHub Packages
8763 run : npm publish
8864 env :
Original file line number Diff line number Diff line change 11{
22 "name" : " modulatecss" ,
3- "version" : " 1.0.31 " ,
3+ "version" : " 1.0.32 " ,
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