Skip to content

Commit

Permalink
Merge pull request #4 from ZettaScaleLabs/develop
Browse files Browse the repository at this point in the history
feat: Add basic CI workflow
  • Loading branch information
fuzzypixelz authored May 7, 2024
2 parents 07353a2 + fa2dd24 commit e4ed8aa
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
pull_request_target:
branches: [main]

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: .node-version

- run: npm ci
- run: npm run format:check
- run: npm run lint
- run: npm run test
- run: npm run build

- name: Check that dist/ is correctly generated
run: git diff --quiet HEAD main -- dist

0 comments on commit e4ed8aa

Please sign in to comment.