File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Node version and Lint Check
2+ on :
3+ pull_request :
4+ types : [opened, synchronize]
5+ push :
6+ branches :
7+ - ' *'
8+ paths-ignore :
9+ - ' system/**/*'
10+ - ' .github/**/*'
11+ - ' *.md'
12+
13+ jobs :
14+ compatibility-check :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ node-version : [16, 18, 20]
19+ steps :
20+ - name : Checkout Repository
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+
28+ - name : Install Dependencies
29+ run : npm install
30+
31+ - name : Lint Check
32+ run : npm run lint
33+
34+ - name : Prettier Check
35+ run : npm run format:check
36+
37+ - name : Build Project
38+ run : npm run build
39+
40+ - name : Run Tests
41+ run : npm run test
42+
43+ - name : Log Node.js Version
44+ run : echo "Tested on Node.js version ${{ matrix.node-version }}"
You can’t perform that action at this time.
0 commit comments