Skip to content

Commit

Permalink
chore: update github workflows (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Mar 5, 2022
1 parent 0d06f26 commit bbc969a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x
- name: Install Dependencies
run: yarn --frozen-lockfile && yarn format:ci
- name: Install GraphQL@15.x
Expand All @@ -21,7 +21,7 @@ jobs:
test:
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x, 16.x]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
# rm examples/star-wars/star-wars-schema.graphql
# node examples/star-wars/dist/schema.js
# git diff --exit-code
node-version: [12.x]
node-version: [14.x]
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ on:
branches: [main]

jobs:
graphql-14:
graphql-15:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12.x
node-version: 14.x
- name: Install Dependencies
run: yarn --frozen-lockfile || yarn --frozen-lockfile
- name: Install GraphQL@14.x
run: yarn add graphql@^14.5.8
run: yarn --frozen-lockfile && yarn format:ci
- name: Install GraphQL@15.x
run: yarn add graphql@^15
- name: Test
run: yarn -s test:ci --testPathIgnorePatterns v15
run: yarn -s test:ci

test:
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x, 16.x]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
# rm examples/star-wars/star-wars-schema.graphql
# node examples/star-wars/dist/schema.js
# git diff --exit-code
node-version: [12.x]
node-version: [14.x]
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit bbc969a

Please sign in to comment.