chore: update preview build workflow (#113)

This commit is contained in:
Yang Libin 2021-12-03 14:08:12 +08:00 committed by GitHub
parent 38800737fa
commit 77a04967dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,12 @@ jobs:
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: set up node
uses: actions/setup-node@v2
with:
node-version: "12"
check-latest: true
- name: build - name: build
run: | run: |
npm install npm install