From a22e6a4e2b9966a960fb20fdb70d24a149ae6428 Mon Sep 17 00:00:00 2001 From: omiend Date: Tue, 26 Sep 2023 22:18:56 +0900 Subject: [PATCH] node version up --- .github/workflows/production-firebase-hosting-merge.yml | 6 +++--- .github/workflows/staging-firebase-hosting-merge.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/production-firebase-hosting-merge.yml b/.github/workflows/production-firebase-hosting-merge.yml index 93ae3f1..09f9890 100644 --- a/.github/workflows/production-firebase-hosting-merge.yml +++ b/.github/workflows/production-firebase-hosting-merge.yml @@ -2,7 +2,7 @@ # https://github.com/firebase/firebase-tools name: Deploy to Firebase Hosting on production -'on': +"on": push: branches: - production @@ -13,14 +13,14 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 16 - name: Install npm modules run: yarn install - name: Build app run: yarn predeploy - uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' + repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCALAMATSURI_2023_WEB }} channelId: live projectId: scalamatsuri-2023-web diff --git a/.github/workflows/staging-firebase-hosting-merge.yml b/.github/workflows/staging-firebase-hosting-merge.yml index 475d1aa..81bd7cc 100644 --- a/.github/workflows/staging-firebase-hosting-merge.yml +++ b/.github/workflows/staging-firebase-hosting-merge.yml @@ -2,7 +2,7 @@ # https://github.com/firebase/firebase-tools name: Deploy to Firebase Hosting on staging -'on': +"on": push: branches: - master @@ -13,14 +13,14 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 16 - name: Install npm modules run: yarn install - name: Build app run: yarn predeploy - uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' + repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCALAMATSURI_2023_WEB_STAGE }} channelId: live projectId: scalamatsuri-2023-web-stage