mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
Use correct node version
This commit is contained in:
parent
3865d8440c
commit
04080d85f3
1 changed files with 4 additions and 6 deletions
10
.github/workflows/deploy-sandbox.yaml
vendored
10
.github/workflows/deploy-sandbox.yaml
vendored
|
@ -39,15 +39,13 @@ jobs:
|
|||
needs: [variables]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '21.7.3'
|
||||
- name: Compile USWDS assets
|
||||
working-directory: ./src
|
||||
run: |
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
nvm install 21.7.3 &&
|
||||
nvm use 21.7.3 &&
|
||||
docker compose run node npm install &&
|
||||
docker compose run node npx gulp copyAssets &&
|
||||
docker compose run node npx gulp compile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue