File tree Expand file tree Collapse file tree 1 file changed +12
-19
lines changed
Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Original file line number Diff line number Diff line change 1- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
4- name : Node.js CI
1+ name : CI
52
63on :
74 push :
85 branches :
9- - master
6+ - main
107 pull_request :
118 branches :
12- - master
9+ - main
1310
1411jobs :
15- build :
12+ test :
1613 runs-on : ${{ matrix.os }}
1714
1815 strategy :
1916 matrix :
20- node-version : [14 .x, 16 .x]
17+ node-version : [20 .x, 22 .x]
2118 os : [ubuntu-latest]
2219
2320 steps :
24- - uses : actions/checkout@v3
21+ - uses : actions/checkout@v4
2522 - name : Use Node.js ${{ matrix.node-version }}
26- uses : actions/setup-node@v2
23+ uses : actions/setup-node@v4
2724 with :
2825 node-version : ${{ matrix.node-version }}
29- cache : ' yarn'
30- - run : yarn
31- - run : yarn build
32- - run : yarn global add codecov
33- - run : yarn test
34- - run : yarn test:test262
35-
36- - run : codecov -f coverage/*.json
37- - run : bash <(curl -s https://codecov.io/bash)
26+ cache : pnpm
27+ - run : pnpm install --frozen-lockfile
28+ - run : pnpm build
29+ - run : pnpm test
30+ - run : pnpm test:test262
You can’t perform that action at this time.
0 commit comments