From 806185247a6f0889f7bad4b4f7c3306e461ac8dc Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Fri, 17 Sep 2021 16:53:54 -0700 Subject: [PATCH] build(test.yml): set node-version to 16 --- .github/workflows/test.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73d09c1e..4e8581aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,16 +1,13 @@ name: Test - -on: +"on": push: branches: - master - renovate/** - pull_request: types: - opened - synchronize - jobs: test_matrix: strategy: @@ -19,9 +16,7 @@ jobs: - 10 - 12 - 14 - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -31,9 +26,6 @@ jobs: cache: npm - run: npm ci - run: npm run test:ci - - # separate job to set as required in branch protection, - # as the build names above change each time Node versions change test: runs-on: ubuntu-latest needs: test_matrix @@ -42,5 +34,6 @@ jobs: - uses: actions/setup-node@v2 with: cache: npm + node-version: 16 - run: npm ci - run: npm run lint