Merge pull request #488 from syou6162/renovate/axios-1.x #494
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Firebase Cloud Functionsでのdeployを実行する | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- run: npm install | |
- run: npm install | |
working-directory: ./functions | |
- run: npm --prefix functions run lint | |
- run: npm --prefix functions run build | |
- name: Setup Firebase CLI | |
run: npm install -g firebase-tools | |
- name: Deploy Firebase Cloud Functions | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
run: firebase deploy --only functions --token $FIREBASE_TOKEN |