diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7f06dd0a..b8da1d32 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 @@ -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: @@ -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: diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 1030a291..1f7edf5a 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -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: @@ -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: