Skip to content

Commit

Permalink
Unit tests in GitHub CI should test the PR/branch (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj committed Jan 2, 2024
1 parent 34ae0b4 commit 0474a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: npm ci && npm run build
- run: npm test

Expand Down

0 comments on commit 0474a45

Please sign in to comment.