@@ -12,11 +12,11 @@ jobs:
1212 runs-on : ubuntu-latest
1313 if : ${{ github.event_name != 'pull_request' }}
1414 steps :
15- - uses : actions/checkout@v5
15+ - uses : actions/checkout@v6
1616 name : Checkout [main]
1717 with :
1818 fetch-depth : 0
19- - uses : actions/setup-node@v4
19+ - uses : actions/setup-node@v5
2020 with :
2121 node-version : " 24"
2222 - uses : pnpm/action-setup@v4
@@ -35,29 +35,32 @@ jobs:
3535 run : |
3636 echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
3737
38- - uses : actions/cache@v4
38+ - uses : actions/cache@v5
3939 name : Setup pnpm cache
4040 with :
4141 path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
4242 key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4343 restore-keys : |
4444 ${{ runner.os }}-pnpm-store-
45+ - name : Clean tmp-files directory
46+ run : rm -rf tests/tmp-files
47+ if : always()
4548 - run : pnpm install --no-frozen-lockfile
4649 - run : pnpm run build:ci
4750 - run : pnpm test
4851 pr :
4952 runs-on : ubuntu-latest
5053 if : ${{ github.event_name == 'pull_request' }}
5154 steps :
52- - uses : actions/checkout@v5
55+ - uses : actions/checkout@v6
5356 with :
5457 ref : ${{ github.event.pull_request.head.ref }}
5558 repository : ${{ github.event.pull_request.head.repo.full_name }}
5659 fetch-depth : 0
57- - uses : actions/setup-node@v4
60+ - uses : actions/setup-node@v5
5861 with :
5962 node-version : " 24"
60- - uses : pnpm/action-setup@v3
63+ - uses : pnpm/action-setup@v4
6164 name : Install pnpm
6265 id : pnpm-install
6366 with :
@@ -73,13 +76,16 @@ jobs:
7376 run : |
7477 echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
7578
76- - uses : actions/cache@v4
79+ - uses : actions/cache@v5
7780 name : Setup pnpm cache
7881 with :
7982 path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
8083 key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
8184 restore-keys : |
8285 ${{ runner.os }}-pnpm-store-
86+ - name : Clean tmp-files directory
87+ run : rm -rf tests/tmp-files
88+ if : always()
8389 - run : pnpm install --no-frozen-lockfile
8490 - run : pnpm run build:ci
8591 - run : pnpm test
0 commit comments