Skip to content

Commit

Permalink
Merge pull request #495 from bueche/feat/support_for_graphqlv16_6_0
Browse files Browse the repository at this point in the history
update to handle graphql v16_x breaking changes
  • Loading branch information
bueche committed Jun 23, 2023
2 parents a66158f + 2cefaaf commit 0c05d20
Show file tree
Hide file tree
Showing 21 changed files with 642 additions and 468 deletions.
55 changes: 31 additions & 24 deletions .github/workflows/ci-tests.yml
Expand Up @@ -21,9 +21,9 @@ name: CI Tests

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
run-tests:
Expand All @@ -34,33 +34,40 @@ jobs:
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
# node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
node-version: [14.x, 15.x, 16.x]

steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Checkout Repo
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Setup System
run: |
sudo apt-get update
sudo apt-get install sqlite3
- name: Setup System
run: |
sudo apt-get update
sudo apt-get install sqlite3
- name: Install Node Deps
run: npm ci
- name: Install Node Deps
run: npm ci

- name: Startup Databases
run: |
npm run db-up
echo 'Waiting for DBs to start'
npm run db-wait
- name: Startup Databases
run: |
npm run db-up
echo 'Waiting for DBs to start'
npm run db-wait
- name: Build Test Databases
run: npm run db-build
- name: Build Test Databases
run: npm run db-build

- name: Run Tests
run: npm test
- name: Run Tests
run: npm test

- uses: actions/upload-artifact@v3
if: failure()
with:
name: npm-logs
path: /home/runner/.npm/_logs/
5 changes: 4 additions & 1 deletion docs/CHANGELOG.md
@@ -1,4 +1,7 @@
### vNEXT
### vNEXT (June 23, 2023)

#### Updated
- [#495](https://github.com/join-monster/join-monster/pull/495): Added support for GraphQL v16_6_0. There were a number of breaking changes introduced in GraphQL v16 and these impacted a large number of tests and bit of the code. This provides fixes for those breaking changes. It also drops support for Node versions 10 - 13 but adds support for Node v16.

### v3.1.1 (January 17, 2022)

Expand Down

0 comments on commit 0c05d20

Please sign in to comment.