Bump path-to-regexp and express in /graphql-server #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-test | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
branches: | |
- main | |
- releases/* | |
- dev | |
- feature/* | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
# Setup Node.js for both projects | |
- name: Setup Node 22.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.x | |
cache: npm | |
# Build and test the GraphQL server | |
- name: Install and Build GraphQL Server | |
working-directory: ./graphql-server | |
run: | | |
npm i | |
npm test | |
# Build and test the Svelte front-end app | |
- name: Install and Build Svelte Frontend | |
working-directory: ./front-end/svelte/international-nhl-standings | |
# npm test | |
run: | | |
npm i |