Skip to content

Commit 77d7493

Browse files
committed
ci: automatic tests
1 parent 4b7da81 commit 77d7493

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/check-repo.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI/CD
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
7+
jobs:
8+
check-repo:
9+
timeout-minutes: 60
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
working-directory: ./tests
14+
permissions: write-all
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Unit Tests
23+
run: npm test

0 commit comments

Comments
 (0)