Skip to content

Commit

Permalink
UHF-8762: Different cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Jan 19, 2024
1 parent fe101a5 commit ee9a5c2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ jobs:
- name: Run tests
run: |
NODE_VERSION=$(cat .nvmrc 2>/dev/null)
docker run --rm --name helfi-node -v $(pwd):/app -w /app node:$NODE_VERSION npm install
docker run --rm --name helfi-node -v $(pwd):/app -w /app node:$NODE_VERSION npm run fast-reference
docker run --rm --name helfi-node -v $(pwd):/app -w /app node:$NODE_VERSION npm run fast-test
NODE_VERSION=$(cat $THEME_DIR/.nvmrc 2>/dev/null)
THEME_CWD=/app/public/themes/contrib/$THEME_NAME
docker run --rm --name helfi-node -v $(pwd):/app -w $THEME_CWD node:$NODE_VERSION npm install
docker run --rm --name helfi-node -v $(pwd):/app -w $THEME_CWD node:$NODE_VERSION npm run fast-reference
docker run --rm --name helfi-node -v $(pwd):/app -w $THEME_CWD node:$NODE_VERSION npm run fast-test

0 comments on commit ee9a5c2

Please sign in to comment.