File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed
Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments