build(surge): prefer using yarn (#7379)

This commit is contained in:
neverland 2020-10-21 21:31:28 +08:00 committed by GitHub
parent dabd984070
commit 3eb99fcc09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,6 @@ jobs:
surge_token: ${{ secrets.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
build: |
npm install
yarn
./node_modules/.bin/vant-cli build-site
dist: site