Skip to content

fix/schema 2

fix/schema 2 #68

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
prettier:
runs-on: [self-hosted, portainer]
steps:
- uses: actions/checkout@v4
- run: "apt update && apt install -y --only-upgrade nodejs && apt install -y npm"
- uses: actions/setup-node@v4
with:
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Install dependencies
run: npm ci --prefer-offline
- name: Check
run: npm run format:check
env:
CI: true
lint:
runs-on: [self-hosted, portainer]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Install dependencies
run: npm ci --prefer-offline
- name: Check
run: npm run lint:check
env:
CI: true