Skip to content

Add CI/CD for Backend #2

Add CI/CD for Backend

Add CI/CD for Backend #2

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
paths:
- 'spx-gui/**'
pull_request:
branches:
- '**'
paths:
- 'spx-gui/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: spx-gui/package-lock.json
- name: Install modules
working-directory: spx-gui
run: npm install
- name: Run Vue TSC
working-directory: spx-gui
run: npm run type-check
- name: Run ESLint
working-directory: spx-gui
run: npm run lint