Skip to content

Commit 223dec1

Browse files
committed
feat: add GitHub Actions workflow for testing and linting
1 parent 5b13964 commit 223dec1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: testing
2+
on:
3+
push:
4+
branches: [main]
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: "lts/*"
17+
18+
- name: Install dependencies
19+
run: |
20+
npm clean-install
21+
22+
- name: Run linter
23+
run: |
24+
npm run lint

0 commit comments

Comments
 (0)