File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 1010 branches : [ "main" ]
1111
1212jobs :
13- build :
14-
13+ test :
1514 runs-on : ubuntu-latest
1615
17- strategy :
18- matrix :
19- node-version : [18.x, 20.x, 22.x]
20- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21-
2216 steps :
23- - uses : actions/checkout@v4
24- - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v4
26- with :
27- node-version : ${{ matrix.node-version }}
28- cache : ' npm'
29- - run : npm ci
30- - run : npm run build --if-present
31- - run : npm test
17+ - name : Checkout repository
18+ uses : actions/checkout@v2
19+
20+ - name : Set up Node.js
21+ uses : actions/setup-node@v3
22+ with :
23+ node-version : ' 14'
24+
25+ - name : Install dependencies
26+ run : npm install
27+
28+ - name : Run Jest tests
29+ run : npm test
You can’t perform that action at this time.
0 commit comments