Skip to content

Commit e4ed8aa

Browse files
authored
Merge pull request #4 from ZettaScaleLabs/develop
feat: Add basic CI workflow
2 parents 07353a2 + fa2dd24 commit e4ed8aa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/_ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
pull_request_target:
5+
branches: [main]
6+
7+
jobs:
8+
main:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version-file: .node-version
16+
17+
- run: npm ci
18+
- run: npm run format:check
19+
- run: npm run lint
20+
- run: npm run test
21+
- run: npm run build
22+
23+
- name: Check that dist/ is correctly generated
24+
run: git diff --quiet HEAD main -- dist

0 commit comments

Comments
 (0)