From 2231414ed6f173b9a9c3e5841b17cdc1c8506e0f Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Sun, 17 Dec 2023 10:56:31 +0800 Subject: [PATCH] chore: bump version 0.4.0-beta.2 --- .github/workflows/node.js.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index c3a977c5e..07cae8e6b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,29 +5,28 @@ name: Node.js CI on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm config set registry https://registry.yarnpkg.com/ - # - run: npm install - - run: npm install --global pnpm - - run: pnpm i - - run: npm run beforetest - - run: npm run test + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm config set registry https://registry.yarnpkg.com/ + # - run: npm install + - run: npm install --global pnpm + - run: pnpm i + - run: npm run beforetest + - run: npm run test