Skip to content

Replace controller-schema.json with latest from stable-2.6 (#134) #377

Replace controller-schema.json with latest from stable-2.6 (#134)

Replace controller-schema.json with latest from stable-2.6 (#134) #377

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci --include=dev
- run: npm run build --if-present
- run: npm run test:coverage
- name: Vitest Coverage Report
uses: davelosert/vitest-coverage-report-action@v2.8.3
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci --include=dev
- run: npm audit
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci --include=dev
- run: npx prettier --check .
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci --include=dev
- run: npm run lint