Skip to content

Commit 3786b3d

Browse files
committed
Update ci to run on merge to master and in pull requests
1 parent 1150ed9 commit 3786b3d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
name: Build & Test
2-
on: push
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
permissions:
9+
contents: read
310

411
jobs:
512
main:
@@ -11,5 +18,6 @@ jobs:
1118
with:
1219
node-version: 20
1320
- run: npm ci
21+
- run: npm run lint
1422
- run: npm run build
1523
- run: npm run cypress:ci

0 commit comments

Comments
 (0)