update ci

This commit is contained in:
2023-12-22 15:40:12 +08:00
parent ee93182b54
commit 307caad632

View File

@@ -16,7 +16,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [18.x] node-version: [21.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
@@ -26,11 +26,5 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- name: Run install - run: yarn install
uses: borales/actions-yarn@v4 - run: yarn build
with:
cmd: install # will run `yarn install` command
- name: Run build
uses: borales/actions-yarn@v4
with:
cmd: build # will run `yarn build` command