Skip to content

Added the graphql definition and displaying a valid international standings #31

Added the graphql definition and displaying a valid international standings

Added the graphql definition and displaying a valid international standings #31

Workflow file for this run

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 ci
npm run build
npm test
# Build and test the Svelte front-end app
- name: Install and Build Svelte Frontend
working-directory: ./front-end/svelte/international-nhl-standings
run: |
npm ci
npm run build
npm test