feat(ci): add github ci

This commit is contained in:
2025-11-28 14:36:50 +01:00
parent caf2ac7733
commit 7b120b6152

34
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: CI
on:
push:
branches: [main, 3d-nds]
pull_request:
branches: [main, 3d-nds]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: pnpm setup
uses: pnpm/action-setup@v4
with:
version: 10
- name: node setup
uses: actions/setup-node@v4
with:
node-version: 25
cache: "pnpm"
- name: install
run: pnpm install --frozen-lockfile
- name: lint
run: pnpm lint
- name: build
run: pnpm build