Skip to content

Update dependency @types/node to v22.10.4 #49

Update dependency @types/node to v22.10.4

Update dependency @types/node to v22.10.4 #49

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