Skip to content

Commit

Permalink
chore(repo): use origin/main as a comparator for filtering tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Jul 15, 2021
1 parent 348764e commit 43c20cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/validate.yml
Expand Up @@ -30,6 +30,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Checkout Master
run: git branch -f master origin/master

- name: Install pnpm
run: npm install pnpm -g

Expand All @@ -56,4 +59,4 @@ jobs:
run: pnpm lint:js

- name: Run Tests
run: pnpm ci:coverage --filter ...[${{ github.sha }}]
run: pnpm ci:coverage --filter "...[origin/master]"

0 comments on commit 43c20cc

Please sign in to comment.