Skip to content

Commit

Permalink
CI: fix tests workflow
Browse files Browse the repository at this point in the history
- Run on PR events only (remove redundant push event)
- Add yarn cache
  • Loading branch information
Roy Razon committed Jul 31, 2023
1 parent de11526 commit c91837b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run tests
on:
pull_request:
push:
types: [opened, reopened, synchronize]

jobs:
run-tests:
Expand All @@ -11,6 +11,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: yarn

- uses: actions/checkout@v3

Expand Down

0 comments on commit c91837b

Please sign in to comment.