diff --git a/.ddev/web-build/Dockerfile b/.ddev/web-build/Dockerfile index 2bffc96a..5beb2701 100644 --- a/.ddev/web-build/Dockerfile +++ b/.ddev/web-build/Dockerfile @@ -1,3 +1,4 @@ ARG BASE_IMAGE FROM $BASE_IMAGE -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests jpegoptim optipng gifsicle +RUN npm i -g n && n stable +RUN npm i -g npm diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8d85ee8e..03b253b5 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -34,9 +34,9 @@ jobs: ${{ runner.os }}- - name: Build assets - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: 12.x + node-version: '14' - run: npm install - run: npm run build