From fd1e708e529b3aea3eafebc43a87890f68e7de14 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Mon, 1 Mar 2021 16:08:21 -0800 Subject: change npm script to use yarn instead --- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index cb4bddd..2362294 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -14,7 +14,7 @@ jobs: working-directory: ./frontend steps: - uses: actions/checkout@v2 - - run: npm run build + - run: yarn && yarn build - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 79c72f3..2f6e20e 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -11,7 +11,7 @@ jobs: working-directory: ./frontend steps: - uses: actions/checkout@v2 - - run: npm run build + - run: yarn && yarn build - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' -- cgit v1.2.3