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:
12
.github/workflows/node.js.yml
vendored
12
.github/workflows/node.js.yml
vendored
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user