Skip to content

Commit

Permalink
事前にbuildでこけていることを検知できるようにgithub actionを定義しておく
Browse files Browse the repository at this point in the history
  • Loading branch information
syou6162 committed May 4, 2022
1 parent 1b33854 commit 5355130
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/check_firebase_cloud_function.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Firebase Cloud Function部分の確認

on: [push]

jobs:
check_firebase_hosting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
- run: npm install
- run: npm install
working-directory: ./functions
- run: npm --prefix functions run lint
- run: npm --prefix functions run build

0 comments on commit 5355130

Please sign in to comment.