@@ -10,67 +10,67 @@ jobs:
1010 needs : test
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
13+ - uses : actions/checkout@v4
1414 with :
1515 lfs : true
1616 ref : ${{ github.event.pull_request.head.repo.full_name == github.repository &&
1717 github.event.pull_request.head.ref || '' }}
18- - uses : actions/setup-node@v2
18+ - uses : actions/setup-node@v4
1919 with :
20- node-version : 14
20+ node-version : 20
21+ - run : corepack enable
2122 - run : git config --global user.email "actions@github.com"
2223 - run : git config --global user.name "GitHub Actions"
23- - run : yarn --frozen-lockfile
24- - run : yarn checkUnknownFiles
25- - run : yarn lint
24+ - run : pnpm install --frozen-lockfile
25+ - run : pnpm checkUnknownFiles
26+ - run : pnpm lint
2627 - env :
2728 GITHUB_REPOSITORY : ${{ secrets.GITHUB_REPOSITORY }}
2829 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2930 name : Push changed files
30- run : yarn dw-ci push-changed-files
31+ run : pnpm dw-ci push-changed-files
3132 - env :
3233 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3334 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3435 if : github.ref == 'refs/heads/master'
3536 name : Release
36- run : yarn semantic-release
37+ run : pnpm semantic-release
3738 test :
3839 needs : cancel-existing
3940 runs-on : ${{ matrix.os }}
4041 steps :
41- - uses : actions/checkout@v2
42+ - uses : actions/checkout@v4
4243 with :
4344 fetch-depth : 0
4445 lfs : true
45- - uses : actions/setup-node@v2
46+ - uses : actions/setup-node@v4
4647 with :
4748 node-version : ${{ matrix.node }}
48- - run : yarn --frozen-lockfile
49- - run : yarn test
49+ - run : corepack enable
50+ - run : pnpm install --frozen-lockfile
51+ - env :
52+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ run : pnpm test
5054 - if : failure()
51- uses : actions/upload-artifact@v2
55+ uses : actions/upload-artifact@v3
5256 with :
5357 name : Image Snapshot Diffs
5458 path : " **/__image_snapshots__/__diff_output__"
55- - if : matrix.os == 'ubuntu-latest' && matrix.node == 14
56- uses : codecov/codecov-action@v2
59+ - if : matrix.os == 'ubuntu-latest' && matrix.node == 20
60+ uses : codecov/codecov-action@v3
5761 with :
58- fail_ci_if_error : true
5962 token : ${{ secrets.CODECOV_TOKEN }}
6063 strategy :
6164 matrix :
62- exclude :
63- - node : 12
65+ include :
66+ - node : 18
67+ os : ubuntu-latest
68+ - node : 20
69+ os : ubuntu-latest
70+ - node : 20
6471 os : macos-latest
65- - node : 12
72+ - node : 20
6673 os : windows-latest
67- node :
68- - 12
69- - 14
70- os :
71- - macos-latest
72- - windows-latest
73- - ubuntu-latest
7474name : build
7575on :
7676 pull_request : {}
0 commit comments