Skip to content

Commit

Permalink
Update frontend github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Nov 7, 2023
1 parent 9a3212e commit f2e78c0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run: yarn run lint --no-fix

- name: Type-check Vue app
run: yarn run type
run: yarn run type-check

- name: Build Vue app
run: yarn run build
run: yarn run build-only

test-e2e:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,9 +70,9 @@ jobs:
DANDI_ALLOW_LOCALHOST_URLS: 1

# Web client env vars
VUE_APP_DANDI_API_ROOT: http://localhost:8000/api/
VUE_APP_OAUTH_API_ROOT: http://localhost:8000/oauth/
VUE_APP_OAUTH_CLIENT_ID: Dk0zosgt1GAAKfN8LT4STJmLJXwMDPbYWYzfNtAl
VITE_APP_DANDI_API_ROOT: http://localhost:8000/api/
VITE_APP_OAUTH_API_ROOT: http://localhost:8000/oauth/
VITE_APP_OAUTH_CLIENT_ID: Dk0zosgt1GAAKfN8LT4STJmLJXwMDPbYWYzfNtAl

# E2E tests env vars
CLIENT_URL: http://localhost:8085
Expand All @@ -82,7 +82,6 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'yarn'
cache-dependency-path: web/yarn.lock

Expand Down Expand Up @@ -125,7 +124,7 @@ jobs:
- name: Run E2E tests
run: |
# start vue dev server and wait for it to start
yarn --cwd .. run serve 2> /dev/null &
yarn --cwd .. run dev 2> /dev/null &
while ! nc -z localhost 8085; do
sleep 3
done
Expand Down

0 comments on commit f2e78c0

Please sign in to comment.