mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
update ci
This commit is contained in:
16
.github/workflows/node.js.yml
vendored
16
.github/workflows/node.js.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user