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