From c7d57347d7f2c6114c26446ebf1f2ae2e6eba600 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 24 Dec 2023 23:04:10 -0600 Subject: [PATCH] chore(test): simplify workflows --- .github/workflows/ci.yml | 13 ++++--------- .github/workflows/release.yml | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1b2067..154bac5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,17 +10,13 @@ jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x, 20.x] - steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 20 - run: npm install @@ -30,7 +26,6 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - if: matrix.node-version == '18.x' env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -40,10 +35,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: npm install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66d2034..a25e26f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-node@v4 if: ${{ steps.release.outputs.release_created }} with: - node-version: 18 + node-version: 20 registry-url: 'https://registry.npmjs.org' - run: npm ci