From 736be4e70b1b6a8ffcdfc1fabe6a4d06e9d44d7a Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Wed, 27 Mar 2024 12:25:42 +0800 Subject: [PATCH] feat: upgrade CI Node.js version to 20 --- .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 2413c8a..ea93498 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2.1.5 with: - node-version: ^18 + node-version: ^20 - name: Install Dependency run: yarn install @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [^16, ^18] + node: [^18, ^20] steps: - uses: actions/checkout@v2 @@ -84,7 +84,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: ^18 + node-version: ^20 - name: Run semantic-release if: github.repository == 'node-casbin/typeorm-adapter' && github.event_name == 'push'