update ci

This commit is contained in:
2023-12-22 15:45:07 +08:00
parent 307caad632
commit 3a27932f29

View File

@@ -25,6 +25,16 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'yarn'
- run: yarn install
- run: yarn build - name: Install Yarn
run: npm install -g yarn@canary # Yarn Berry corresponds to Yarn 2+, which includes Yarn 3 and future versions
- name: Check Yarn Version
run: yarn --version
- name: Install dependencies
run: yarn install
- name: Build the project
run: yarn build