Skip to content

Update preferred routes for AIRAC 2411 #901

Update preferred routes for AIRAC 2411

Update preferred routes for AIRAC 2411 #901

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.builds }}
strategy:
fail-fast: true
matrix:
builds: [client, server]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.11.0"
cache: "npm"
cache-dependency-path: "${{ matrix.builds }}/package-lock.json"
- name: Install dependencies
run: npm ci
- name: Build ${{ matrix.builds }}
run: npm run build
- name: Lint ${{ matrix.builds }}
run: npm run lint
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "server"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: "20.11.0"
cache: "npm"
cache-dependency-path: "server/package-lock.json"
- name: Install dependencies
run: npm ci
- name: Test server
run: npm run test