2 files changed
+25
-17
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
# Keep in sync with mise.toml
|
||||
node-version: 24
|
||||
cache: npm
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- run: npm run lint
|
||||
|
||||
- run: npm run check-types
|
||||
|
||||
- run: npm test
|
||||
@@ -1,17 +0,0 @@
|
||||
default:
|
||||
image: node:20-slim
|
||||
cache:
|
||||
paths:
|
||||
- node_modules
|
||||
|
||||
check_types:
|
||||
stage: test
|
||||
script:
|
||||
- npm i
|
||||
- npm run check-types
|
||||
|
||||
lint:
|
||||
stage: test
|
||||
script:
|
||||
- npm i
|
||||
- npm run lint
|
||||
Reference in new issue
Block a user