From 31d9314914df9a8a7a7ff867c06d09189b51d157 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Wed, 6 Nov 2024 17:20:24 +0000 Subject: [PATCH] Don't install node modules --- .github/actions/test/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 6023d7b..f30364c 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -37,7 +37,11 @@ runs: PORT=$(yq '(.services.${{ inputs.service }}.ports)' docker-compose.yml | sed -e 's/^\- \(.*\)\:.*$/\1/') echo "PORT=$PORT" >> "$GITHUB_ENV" - [[ -f "package.json" ]] && npm install + + + # [[ -f "package.json" ]] && docker compose exec app cp -r /app/node_modules/@nationalarchives/frontend/nationalarchives/assets /app/app/static + + docker compose up ${{ inputs.service }} -d shell: bash