-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
45e7849
commit 2d7d574
Showing
1 changed file
with
18 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 |
---|---|---|
@@ -1,14 +1,25 @@ | ||
name : tests | ||
name: Run Tests on Pull Request | ||
|
||
on: | ||
pull_request | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: action/checkout@v2 | ||
- run : cd auth && yarn install && yarn run test:ci | ||
|
||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16" # Replace this with the version of Node.js your project requires | ||
|
||
- name: Install Yarn dependencies in auth folder | ||
run: cd auth && yarn install | ||
|
||
- name: Run tests in auth folder | ||
run: cd auth && yarn test:ci |