Skip to content

Commit 4b6fe67

Browse files
authored
Merge pull request #98 from spinframework/ci/bypass-test-for-deploys
ci(.github): bypass tests on deploy
2 parents 41f377e + 25a072e commit 4b6fe67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
# npm run lint-markdown
5151

5252
- name: Run npm tests
53+
# Only run tests on PR events; bypass for deploys/merges to main
54+
if: ${{ github.event_name == 'pull_request' }}
5355
run: |
5456
npm test
5557

0 commit comments

Comments
 (0)