-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add action on pull request; bifurcate logic for getting SHA * prettier * install dependencies * fix type error * adding pr workflow * fix event name
- Loading branch information
Showing
4 changed files
with
186 additions
and
7 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,31 @@ | ||
on: [pull_request] | ||
name: mabl | ||
|
||
jobs: | ||
test: | ||
name: Mabl Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run checks | ||
run: npm run check | ||
|
||
- name: Compile Typescript | ||
run: npm run build | ||
|
||
- name: Run Tests | ||
run: npm test | ||
|
||
- name: Run mabl tests against deployment | ||
id: mabl-test-deployment | ||
uses: ./ | ||
env: | ||
MABL_API_KEY: ${{ secrets.MABL_API_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
application-id: l-j3VqIO6lLLOOEoFTPSxA-a | ||
environment-id: rtb4kWD5LuTr2KxaHvwfaA-e |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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