Skip to content

Commit 62a72a9

Browse files
committed
asd
1 parent 8b054f7 commit 62a72a9

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,9 @@ jobs:
2020
- name: Checkout repository
2121
uses: actions/checkout@v2
2222

23-
- name: cd into apps/frontend
24-
run: |
25-
cd ./apps/frontend
26-
27-
- name: ls?
28-
run: |
29-
ls
30-
3123
- name: Set up .env
3224
run: |
33-
echo 'NEXT_PUBLIC_QUESTION_SERVICE_URL="http://localhost:8080/"
34-
NEXT_PUBLIC_USER_SERVICE_URL="http://localhost:3001/"
35-
NEXT_PUBLIC_MATCHING_SERVICE_URL="ws://localhost:8081/match"
36-
NEXT_PUBLIC_SIGNALLING_SERVICE_URL="ws://localhost:4444/"
37-
NEXT_PUBLIC_HISTORY_SERVICE_URL="http://localhost:8082/"' > .env
38-
25+
echo ./apps/frontend/.env.example > .env
3926
4027
- name: Set up Node.js
4128
uses: actions/setup-node@v2
@@ -46,10 +33,14 @@ jobs:
4633
run: npm i -g pnpm
4734

4835
- name: Install dependencies
49-
run: pnpm i
36+
run: |
37+
cd ./apps/frontend
38+
pnpm i
5039
5140
- name: Run tests
52-
run: pnpm test
41+
run: |
42+
cd ./apps/frontend
43+
pnpm test
5344
5445
test:
5546
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)