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
2117 - run : corepack enable
2218 -
run :
git config --global user.email "[email protected] " 2319 - run : git config --global user.name "GitHub Actions"
24- - env :
25- COREPACK_INTEGRITY_KEYS : 0
26- run : pnpm install --frozen-lockfile
20+ - run : pnpm install --frozen-lockfile
2721 - run : pnpm checkUnknownFiles
2822 - run : pnpm lint
2923 - env :
@@ -38,29 +32,26 @@ jobs:
3832 name : Release
3933 run : pnpm semantic-release
4034 test :
41- needs : cancel-existing
4235 runs-on : ${{ matrix.os }}
4336 steps :
4437 - uses : actions/checkout@v4
4538 with :
46- fetch-depth : 0
4739 lfs : true
4840 - uses : actions/setup-node@v4
4941 with :
5042 check-latest : true
5143 node-version : ${{ matrix.node }}
5244 - run : corepack enable
53- - env :
54- COREPACK_INTEGRITY_KEYS : 0
55- run : pnpm install --frozen-lockfile
45+ - run : pnpm install --frozen-lockfile
5646 - env :
5747 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5848 run : pnpm test
59- - if : failure ()
49+ - if : always ()
6050 uses : actions/upload-artifact@v4
6151 with :
62- name : Image Snapshot Diffs
63- path : " **/__image_snapshots__/__diff_output__"
52+ if-no-files-found : ignore
53+ name : Images from tests
54+ path : test-results/*/**
6455 - if : matrix.os == 'ubuntu-latest' && matrix.node == 20
6556 uses : codecov/codecov-action@v3
6657 with :
0 commit comments