File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 1- name : Build and Deploy
1+ name : Test, Build and Deploy
22on :
33 push :
44 branches :
55 - master
66jobs :
7- build-and-deploy :
7+ test :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v3
1111
1212 - uses : actions/setup-node@v3
1313 with :
14- node-version : 16
15-
14+ node-version : 22
15+
1616 - name : Install and Build
1717 run : |
1818 npm install
19- npm run build
19+ npm run build --prefix cli
20+ npm run build --prefix codemirror
2021
2122 - name : Test
2223 run : |
2324 npm test
2425
26+ build-and-deploy :
27+ runs-on : ubuntu-latest
28+ needs : test
29+ steps :
30+ - uses : actions/checkout@v3
31+
32+ - uses : actions/setup-node@v3
33+ with :
34+ node-version : 22
35+
36+ - name : Install and Build
37+ run : |
38+ npm install
39+ npm run build
40+
2541 - name : Deploy 🚀
26422743 with :
You can’t perform that action at this time.
0 commit comments