Skip to content

Commit 01fc92d

Browse files
committed
fix: update trigger condition of ci workflow
1 parent 932bf0e commit 01fc92d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: CI
22

3-
on:
4-
push:
5-
branches:
6-
- master
3+
on: [pull_request]
74

85
jobs:
96
CI:
@@ -20,7 +17,7 @@ jobs:
2017
- name: Use Node.js (.nvmrc)
2118
uses: actions/setup-node@v2
2219
with:
23-
node-version: "${{ steps.nvm.outputs.NVMRC }}"
20+
node-version: '${{ steps.nvm.outputs.NVMRC }}'
2421

2522
- name: Use cached node_modules
2623
uses: actions/cache@v1

0 commit comments

Comments
 (0)