Skip to content

Commit 8dce9a7

Browse files
committed
Run build for PRs
1 parent 961fe4a commit 8dce9a7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Build
22

33
on:
4-
- push
5-
- workflow_dispatch
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
types: [ opened, synchronize, ready_for_review ]
9+
workflow_dispatch:
610

711
permissions:
812
contents: write
@@ -16,6 +20,7 @@ jobs:
1620
- uses: actions/setup-node@v3
1721
with:
1822
node-version: 16.x
23+
cache: npm
1924

2025
- name: Install dependencies
2126
run: npm install

0 commit comments

Comments
 (0)