1+ concurrency :
2+ cancel-in-progress : true
3+ group : ${{ github.workflow }}-${{ github.ref }}
14jobs :
2- cancel-existing :
3- if : " !contains(github.event.head_commit.message, '[skip ci]')"
4- runs-on : ubuntu-latest
5- steps :
6- - env :
7- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8- 95 release :
106 needs : test
117 runs-on : ubuntu-latest
@@ -18,42 +14,44 @@ jobs:
1814 - uses : actions/setup-node@v4
1915 with :
2016 node-version : 20
17+ - run : corepack enable
2118 -
run :
git config --global user.email "[email protected] " 2219 - run : git config --global user.name "GitHub Actions"
23- - run : yarn --frozen-lockfile
24- - run : yarn checkUnknownFiles
25- - run : yarn lint
20+ - run : pnpm install --frozen-lockfile
21+ - run : pnpm checkUnknownFiles
22+ - run : pnpm lint
2623 - env :
2724 GITHUB_REPOSITORY : ${{ secrets.GITHUB_REPOSITORY }}
2825 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2926 name : Push changed files
30- run : yarn dw-ci push-changed-files
27+ run : pnpm dw-ci push-changed-files
3128 - env :
3229 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3330 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3431 if : github.ref == 'refs/heads/master'
3532 name : Release
36- run : yarn semantic-release
33+ run : pnpm semantic-release
3734 test :
38- needs : cancel-existing
3935 runs-on : ${{ matrix.os }}
4036 steps :
4137 - uses : actions/checkout@v4
4238 with :
43- fetch-depth : 0
4439 lfs : true
4540 - uses : actions/setup-node@v4
4641 with :
42+ check-latest : true
4743 node-version : ${{ matrix.node }}
48- - run : yarn --frozen-lockfile
44+ - run : corepack enable
45+ - run : pnpm install --frozen-lockfile
4946 - env :
5047 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51- run : yarn test
52- - if : failure ()
53- uses : actions/upload-artifact@v3
48+ run : pnpm test
49+ - if : always ()
50+ uses : actions/upload-artifact@v4
5451 with :
55- name : Image Snapshot Diffs
56- path : " **/__image_snapshots__/__diff_output__"
52+ if-no-files-found : ignore
53+ name : Images from tests
54+ path : test-results/*/**
5755 - if : matrix.os == 'ubuntu-latest' && matrix.node == 20
5856 uses : codecov/codecov-action@v3
5957 with :
0 commit comments