-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
21 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,7 @@ | ||
#!/bin/bash | ||
# TODO switch to official release once fixes are published. | ||
git clone --single-branch --branch jh-ext-emu-fixes https://github.com/firebase/firebase-tools.git | ||
cd firebase-tools | ||
npm i | ||
npm link --local | ||
firebase --open-sesame extdev |
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,37 @@ | ||
name: storage-image-processing-api | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "extensions/storage-image-processing-api/**" | ||
- ".github/workflows/storage-image-processing-api.yaml" | ||
|
||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "docs/**" | ||
- "**.md" | ||
|
||
env: | ||
EXTENSION_PATH: "extensions/storage-image-processing-api" | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: '14' | ||
- name: NPM Install | ||
run: npm install | ||
- name: Install Firebase CLI | ||
run: ./.github/workflows/scripts/install-firebase-cli.sh | ||
- name: Jest Tests | ||
run: | | ||
cd $EXTENSION_PATH/functions | ||
npm run emulator & | ||
sleep 10 | ||
npm run test |
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
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
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