Skip to content

Commit

Permalink
Merge pull request #39 from romdj/graphql
Browse files Browse the repository at this point in the history
Added the graphql definition and displaying a valid international standings
  • Loading branch information
romdj authored Oct 19, 2024
2 parents 0562494 + fe6bb82 commit 2f06506
Show file tree
Hide file tree
Showing 88 changed files with 77,808 additions and 8,000 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,24 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Node 16.x

# Setup Node.js for both projects
- name: Setup Node 22.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 22.x
cache: npm
- run: npm ci
- run: npm run build
# - run: npm run format-check
- run: npm test

# 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
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v22
5 changes: 2 additions & 3 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module.exports = {
trailingComma: "es5",
singleQuote: false,
singleQuote: true,
printWidth: 120,
tabWidth: 2,
useTabs: false,
semi: true,
quoteProps: "as-needed"
quoteProps: "as-needed",
};
157 changes: 0 additions & 157 deletions .test/unit/data/dummy-game.json

This file was deleted.

175 changes: 0 additions & 175 deletions .test/unit/data/dummy-ot-game.json

This file was deleted.

Loading

0 comments on commit 2f06506

Please sign in to comment.