From 7553c6c5a54074d899050a3e25dd75f057f04086 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Tue, 23 Jan 2024 19:40:58 +0800 Subject: [PATCH] ci: update Node versions to 18, 20 --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6eb8bb9..a6361d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,15 +6,15 @@ jobs: strategy: fail-fast: false matrix: - node-version: [^16, ^18] + node-version: [^18, ^20] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup MongoDB run: bash ./.github/mongo_setup.sh - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} @@ -33,15 +33,15 @@ jobs: strategy: fail-fast: false matrix: - node-version: [^16, ^18] + node-version: [^18, ^20] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup MongoDB run: bash ./.github/mongo_setup.sh - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} @@ -70,7 +70,7 @@ jobs: parallel-finished: true - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Dependency run: yarn install --ignore-engines