Skip to content

Commit

Permalink
Use actions/setup-node@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Aug 12, 2024
1 parent 7e5052a commit 2c85903
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ jobs:
docker compose exec app bash -c "drush en helfi_test_content -y"
docker compose exec app bash -c "drush sql-dump --result-file=/app/public/sites/default/files/latest.sql"
- name: Node setup
working-directory: ${{ env.THEME_FOLDER }}
- uses: actions/setup-node@v4
with:
node-version-file: ${{ env.THEME_FOLDER }}/.nvmrc

- name: NPM Install
run: |
export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install && npm install
npm install
# Reference images are stored as Actions artifact, attempt to restore
# the images.
Expand Down

0 comments on commit 2c85903

Please sign in to comment.