-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
事前にbuildでこけていることを検知できるようにgithub actionを定義しておく
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
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
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 |