Skip to content

Commit c7ece10

Browse files
committed
set working dir
1 parent 63a2c73 commit c7ece10

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/jest-pr.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@ on:
55
jobs:
66
build-test:
77
runs-on: ubuntu-latest
8-
defaults:
9-
run:
10-
working-directory: ./server-refactored-v3
118
steps:
129
- uses: actions/checkout@v4 # checkout the repo
1310
- name: Set up Node.js 18.x # setup node
11+
working-directory: ./server-refactored-v3
1412
uses: actions/setup-node@v3
1513
with:
1614
node-version: '18.x'
1715
cache: 'yarn'
1816
- name: Install dependencies # install dependencies
17+
working-directory: ./server-refactored-v3
1918
run: yarn install --frozen-lockfile
2019
- run: yarn build # install packages
20+
working-directory: ./server-refactored-v3
2121
- run: yarn test:ci # run tests (configured to use jest-junit reporter)
22+
working-directory: ./server-refactored-v3
2223
- uses: actions/upload-artifact@v4 # upload test results
24+
working-directory: ./server-refactored-v3
2325
if: ${{ !cancelled() }} # run this step even if previous step failed
2426
with:
2527
name: JEST Tests # Name of the check run which will be created

0 commit comments

Comments
 (0)