From 3eb99fcc0970fdb2850f2dd040fef5ab5cc25ca6 Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 21 Oct 2020 21:31:28 +0800 Subject: [PATCH] build(surge): prefer using yarn (#7379) --- .github/workflows/preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index afa04efea..e7882c8e5 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -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