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

Commit 57e4da4

Browse files
committed
ci(actions): debug workflow
1 parent 2f7390c commit 57e4da4

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,32 @@ jobs:
5252
- name: debug dir
5353
run: ls; ls backend_server
5454
- uses: actions/checkout@v2
55+
with:
56+
fetch-depth: 0
57+
repository: 'coderplanets/coderplanets_web'
58+
# Relative path under $GITHUB_WORKSPACE to place the repository
59+
path: 'frontend_server'
5560
- uses: actions/setup-node@v2
5661
with:
5762
node-version: '12'
58-
- name: checkout
59-
uses: actions/checkout@v2
60-
with:
61-
fetch-depth: 0
6263
# - name: Install Packages
6364
# run: yarn
6465
- name: Setup config tools
66+
working-directory: ./frontend_server
6567
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
6668
# - name: Build Project
6769
# run: npm run build.ci
6870
# - name: Check Bundle Size
6971
# run: BUNDLEWATCH_GITHUB_TOKEN=${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} npm run size.check
70-
- name: debug dir
72+
- name: ls frontend_server
73+
working-directory: ./frontend_server
7174
run: ls
72-
- name: debug server dir
73-
run: ls ./backend_server
75+
- name: ls ..
76+
working-directory: ./frontend_server
77+
run: ls ..; ls backend_server
7478
- name: Run Backend Server
75-
run: cd backend_server; MIX_ENV=ci mix phx.server &
79+
working-directory: ./backend_server
80+
run: MIX_ENV=ci mix phx.server &
7681
# setup-front:
7782
# name: Setup Web Front
7883
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)