File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,21 +41,21 @@ jobs:
4141 - run : corepack yarn build # We need the stubs to run the tests
4242
4343 - name : Remove old Nock files to avoid conflicts
44- run : rm -r tests/nock
44+ run : rm tests/nocks.db
4545
4646 - run : corepack yarn test
4747 env :
4848 NOCK_ENV : record
4949
5050 - name : Check if anything has changed
5151 id : contains-changes
52- run : echo "result=$(git --no-pager diff --quiet -- tests/nock || echo "yes")" >> $GITHUB_OUTPUT
52+ run : echo "result=$(git --no-pager diff --quiet -- tests/nocks.db || echo "yes")" >> $GITHUB_OUTPUT
5353 shell : bash
5454
5555 - name : Commit changes
5656 if : ${{ steps.contains-changes.outputs.result == 'yes' }}
5757 run : |
58- git add tests/nock/
58+ git add tests/nocks.db
5959 git config --global user.email "actions@github.com"
6060 git config --global user.name "GitHub Actions"
6161 git commit -m "update Nock files"
@@ -70,10 +70,10 @@ jobs:
7070 env :
7171 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7272
73- - name : Upload `tests/nock ` in case of failure
73+ - name : Upload `tests/nocks.db ` in case of failure
7474 uses : actions/upload-artifact@v4
7575 if : ${{ failure() && steps.contains-changes.outputs.result == 'yes' }}
7676 with :
7777 name : nock
7878 path : |
79- tests/nock
79+ tests/nocks.db
File renamed without changes.
You can’t perform that action at this time.
0 commit comments