Skip to content

Commit 513c7f6

Browse files
authored
Create ci.yml
1 parent 4fe940d commit 513c7f6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
permissions:
3+
contents: read
4+
on: [pull_request]
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
11+
with:
12+
node-version: 22
13+
cache: 'npm'
14+
15+
- name: Install dependencies
16+
run: npm ci
17+
18+
- name: Run Lint
19+
run: npm run lint
20+
tests:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: 22
27+
cache: 'npm'
28+
29+
- name: Install dependencies
30+
run: npm ci
31+
32+
- name: Run tests
33+
run: npm test

0 commit comments

Comments
 (0)