From a55dad02091130fd03276894ebfc45b82a61efe0 Mon Sep 17 00:00:00 2001 From: Favo Yang Date: Tue, 6 Feb 2024 17:37:08 +0800 Subject: [PATCH] fix(ci): match the node version --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74313f4..279a91f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,15 +7,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x] + node-version: [18.x] name: CI - node ${{ matrix.node-version }} steps: - - uses: actions/checkout@v1 - - name: set node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: yarn install - run: yarn install - - name: yarn test - run: yarn test + - uses: actions/checkout@v4 + - name: set node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: npm install + run: npm install + - name: npm test + run: npm test