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 : Frontend CI
2-
3- on :
4- pull_request :
5- branches : [main, develop]
6- push :
7- branches : [main, develop]
8-
91jobs :
10- lint-and-build :
11- runs-on : ubuntu-latest
12-
13- strategy :
14- matrix :
15- node-version : [20.x, 22.x]
16-
17- steps :
18- - name : Checkout code
19- uses : actions/checkout@v4
20-
21- - name : Setup Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v4
23- with :
24- node-version : ${{ matrix.node-version }}
25- cache : ' npm'
26-
27- - name : Install dependencies
28- run : npm ci
29-
30- - name : Run ESLint
31- run : npm run lint
32-
33- - name : Build project
34- run : npm run build
35-
36-
37- test :
38- runs-on : ubuntu-latest
39-
40- steps :
41- - name : Checkout code
42- uses : actions/checkout@v4
43-
44- - name : Setup Node.js
45- uses : actions/setup-node@v4
46- with :
47- node-version : ' 20'
48- cache : ' npm'
49-
50- - name : Install dependencies
51- run : npm ci
52-
53- - name : Run tests
54- run : npm test
55- continue-on-error : true
56-
57- env :
58- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
2+ build :
3+ runs-on : ubuntu-latest
4+ steps :
5+ - uses : actions/checkout@v4
6+ - uses : actions/setup-node@v4
7+ with :
8+ node-version : 20
9+ cache : npm
10+ - run : npm ci
11+ - run : npm run lint
12+ - run : npm run build
You can’t perform that action at this time.
0 commit comments