Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhravHussen authored Jul 24, 2023
1 parent 45e7849 commit 2d7d574
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/tests.yml
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

0 comments on commit 2d7d574

Please sign in to comment.