Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Commit

Permalink
Trial 2 of changes to fix #31
Browse files Browse the repository at this point in the history
Maybe actions/checkout#124 will change the behaviour?
  • Loading branch information
cghobson authored Dec 17, 2020
1 parent 8eadfe6 commit acd3481
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:

steps:
- uses: actions/checkout@v2
if: github.event_name == 'pull_request'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- uses: actions/checkout@v2
if: github.event_name == 'push'
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit acd3481

Please sign in to comment.