File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI Shariff-Plus
2+
3+ on :
4+ push :
5+ branches : [ "develop" ]
6+ pull_request :
7+ branches : [ "develop" ]
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ npm :
15+ name : Install JS/CSS dependencies
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : latest
22+ cache : ' npm'
23+ - name : Run npm ci
24+ - run : npm ci
25+
26+ test :
27+ name : Check Javascript & CSS code style and run test
28+ runs-on : ubuntu-latest
29+ needs : [npm]
30+ steps :
31+ - uses : actions/checkout@v4
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : latest
35+ cache : ' npm'
36+ - name : Check code style and run test
37+ - run : npm run test
38+
39+ build :
40+ name : Build distribution
41+ runs-on : ubuntu-latest
42+ needs : [npm]
43+ steps :
44+ - uses : actions/checkout@v4
45+ uses : actions/setup-node@v4
46+ with :
47+ node-version : latest
48+ cache : ' npm'
49+ - name : Run build
50+ - run : npm run build
You can’t perform that action at this time.
0 commit comments