Skip to content

Commit 4a9a60b

Browse files
authored
Merge pull request #1 from weaponsforge/feat/gh-test
feat: run tests on push
2 parents 1949860 + 4bc1e0b commit 4a9a60b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/test.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'main'
7+
8+
jobs:
9+
lint-app:
10+
name: Test App
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout the repository
14+
uses: actions/checkout@v3
15+
16+
- name: Use NodeJS v20.15.0
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 20.15.0
20+
registry-url: https://registry.npmjs.org/
21+
22+
- name: Install Dependencies
23+
run: npm install
24+
25+
- name: Lint
26+
run: npm run lint
27+
28+
- name: Transpile
29+
run: npm run transpile
30+
31+
- name: Test
32+
run: npm test
33+

0 commit comments

Comments
 (0)