From aa53d9e4c18cca979bd55e53c04318dde92a3aa8 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Tue, 29 Aug 2023 03:34:51 +0900 Subject: [PATCH] chore: replace node.js 14 and 20 in ci matrix Signed-off-by: Sora Morimoto --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bd0e6d7..66bddd68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - node: [14, 16, 18] + node: [16, 18, 20] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -39,10 +39,10 @@ jobs: - name: Run Tests run: yarn test - name: Coverage - if: matrix.os == 'ubuntu-latest' && matrix.node == 14 # only run once + if: matrix.os == 'ubuntu-latest' && matrix.node == 16 # only run once run: yarn test-coverage - name: Maybe Release - if: matrix.os == 'ubuntu-latest' && matrix.node == 18 && github.event_name == 'push' && github.ref == 'refs/heads/main' + if: matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}