Skip to content

Commit d73f3dd

Browse files
committed
Added CI job for core
1 parent 627fc74 commit d73f3dd

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/core_tests.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Core Tests
2+
3+
on:
4+
push:
5+
paths:
6+
- "core/**"
7+
pull_request:
8+
paths:
9+
- "core/**"
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v6
19+
with:
20+
node-version-file: package.json
21+
cache: npm
22+
23+
- name: Install dependencies
24+
run: npm ci --ignore-scripts
25+
26+
- name: Build core
27+
run: npm run build-core
28+
29+
- name: Run core tests
30+
run: npm run test-core

0 commit comments

Comments
 (0)