Update node.js.yml

This commit is contained in:
2023-11-20 18:59:19 +08:00
committed by GitHub
parent 5506cac1e8
commit 2ec5727f3a

View File

@@ -26,5 +26,11 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm install - name: Run install
- run: npm build 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