We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06f8a65 commit fb5bf15Copy full SHA for fb5bf15
.github/workflows/test.yml
@@ -1,27 +1,25 @@
1
name: lint-and-test
2
3
on:
4
-
5
-push:
6
7
-branches:
8
9
-- main
+ push:
+ branches: [main]
+ pull_request:
10
11
jobs:
12
13
-lint-and-test:
14
+ lint-and-test:
15
runs-on: ubuntu-latest
16
17
name: run testing and linting
18
19
steps:
+ - name: checkout
+ uses: actions/checkout@v3
20
21
- - uses: actions/checkout@v3
22
23
- - uses: bahmutov/npm-install@v1
+ - name: install deps
+ uses: bahmutov/npm-install@v1
24
25
- - run: npm run lint (Run ESLint)
+ - name: run ESLint
+ run: npm run lint
26
27
- - run: npm run test (Run Jest)
+ - name: run Jest
+ run: npm test
0 commit comments