Skip to content

Update dependency vite to v6.0.6 #99

Update dependency vite to v6.0.6

Update dependency vite to v6.0.6 #99

name: Lint and build app
on:
pull_request:
branches: ['master']
paths: [ '.github/workflows/lint-and-build-app.yml', 'web/app/**' ]
jobs:
lint:
name: Lint app
runs-on: ubuntu-latest
defaults:
run:
working-directory: web/app
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
cache-dependency-path: web/app/package-lock.json
- name: Dependencies
run: npm ci
- name: Lint
run: npm run lint
build:
name: Build app
runs-on: ubuntu-latest
defaults:
run:
working-directory: web/app
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
cache-dependency-path: web/app/package-lock.json
- name: Dependencies
run: npm ci
- name: Build
run: npm run build