File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,19 +16,21 @@ jobs:
1616 - name : Checkout
1717 uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
1818 with :
19- fetch-depth : 0
19+ ref : ${{ github.event.pull_request.base.ref }}
2020
2121 # v4
2222 - name : Setup Node
23- uses : ./.github/actions/composite/setupNode
23+ uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
24+ with :
25+ node-version-file : ' .nvmrc'
2426
2527 - name : Run reassure baseline tests
2628 run : npx reassure --baseline
2729
28- - name : Checkout PR head ref
30+ - name : Checkout PR head SHA
2931 run : |
30- git fetch origin ${{ github.event.pull_request.head.ref }} --no-tags --depth=1
31- git switch --force --detach ${{ github.event.pull_request.head.ref }}
32+ git fetch origin ${{ github.event.pull_request.head.sha }} --no-tags --depth=1
33+ git switch --force --detach ${{ github.event.pull_request.head.sha }}
3234
3335 - name : Reinstall node_modules
3436 run : npm install --force
You can’t perform that action at this time.
0 commit comments