Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 4231342

Browse files
committed
ci(actions): debug workflow
1 parent 0da91b2 commit 4231342

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
working-directory: ./backend_server
5151
run: MIX_ENV=ci mix run priv/mock/cps_seeds.exs > /dev/null
5252
- name: debug dir
53-
run: ls; ls backend_server
53+
run: ls; ls ../backend_server
5454
- uses: actions/checkout@v2
5555
with:
5656
fetch-depth: 0
@@ -60,21 +60,24 @@ jobs:
6060
- uses: actions/setup-node@v2
6161
with:
6262
node-version: '12'
63-
# - name: Install Packages
64-
# run: yarn
63+
- name: Install Packages
64+
working-directory: ./frontend_server
65+
run: yarn
6566
- name: Setup config tools
6667
working-directory: ./frontend_server
6768
run: chmod +x ./utils/bin/jq-linux; ./utils/bin/jq-linux -s '.[0] * .[1]' config/config.json config/config.ci.json > /tmp/config.json; cp /tmp/config.json ./config/config.json
68-
# - name: Build Project
69-
# run: npm run build.ci
70-
# - name: Check Bundle Size
71-
# run: BUNDLEWATCH_GITHUB_TOKEN=${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} npm run size.check
69+
- name: Build Project
70+
working-directory: ./frontend_server
71+
run: npm run build.ci
72+
- name: Check Bundle Size
73+
working-directory: ./frontend_server
74+
run: BUNDLEWATCH_GITHUB_TOKEN=${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} npm run size.check
7275
- name: ls frontend_server
7376
working-directory: ./frontend_server
7477
run: ls
7578
- name: ls ..
7679
working-directory: ./frontend_server
77-
run: ls ..; ls backend_server
80+
run: ls ..; ls ../backend_server
7881
- name: Run Backend Server
7982
working-directory: ./backend_server
8083
run: MIX_ENV=ci mix phx.server &

0 commit comments

Comments
 (0)