aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-01 16:08:21 -0800
committerjackyzha0 <[email protected]>2021-03-01 16:08:21 -0800
commitfd1e708e529b3aea3eafebc43a87890f68e7de14 (patch)
treea4166de74f56c6901d20db06fb89de35fd5254c2 /.github/workflows
parentadd workdir cmd (diff)
downloadctrl-v-fd1e708e529b3aea3eafebc43a87890f68e7de14.tar.xz
ctrl-v-fd1e708e529b3aea3eafebc43a87890f68e7de14.zip
change npm script to use yarn instead
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/firebase-hosting-merge.yml2
-rw-r--r--.github/workflows/firebase-hosting-pull-request.yml2
2 files changed, 2 insertions, 2 deletions
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 }}'