We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e4826 commit bbd3d8cCopy full SHA for bbd3d8c
.github/workflows/Ci.yml
@@ -12,6 +12,7 @@ jobs:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v3
15
+
16
- uses: actions/setup-node@v3
17
with:
18
node-version: 16
@@ -20,8 +21,13 @@ jobs:
20
21
- name: 📦 Install dependencies
22
run: npm ci
23
- - name: 🧪 Run tests
24
- run: npm run test-changed
+ - name: 🧪 Run all tests
25
+ if: ${{ github.event_name == 'push' }}
26
+ run: npm run test
27
28
+ - name: 🧪 Run tests for changed files only
29
+ if: ${{ github.event_name == 'pull_request' }}
30
31
32
- name: 💄 Code style
33
run: npm run style
0 commit comments