Skip to content

Commit 06f8a65

Browse files
committed
infra: add test workflow
1 parent 5997536 commit 06f8a65

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: lint-and-test
2+
3+
on:
4+
5+
push:
6+
7+
branches:
8+
9+
- main
10+
11+
jobs:
12+
13+
lint-and-test:
14+
15+
runs-on: ubuntu-latest
16+
17+
name: run testing and linting
18+
19+
steps:
20+
21+
- uses: actions/checkout@v3
22+
23+
- uses: bahmutov/npm-install@v1
24+
25+
- run: npm run lint (Run ESLint)
26+
27+
- run: npm run test (Run Jest)

0 commit comments

Comments
 (0)