27 lines
471 B
YAML
27 lines
471 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
quality:
|
|
name: Syntax and tests
|
|
runs-on: toolctrl-ci
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
|
|
- name: Verify
|
|
run: |
|
|
npm run check
|
|
npm test
|
|
git diff --check
|