From 68111d7e9b1ba3f0a81971208a924e7bf208b14c Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:53:01 +0200 Subject: [PATCH] Update hugo.yml --- .github/workflows/hugo.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index bd79821..f478ee5 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -34,8 +34,10 @@ jobs: env: HUGO_VERSION: 0.123.0 steps: - - name: update npm - run: npm install -g npm@10.8.1 + - name: Install Node.js dependencies + run: npm install postcss-cli + - name: Install autoprefixer + run: npm install autoprefixer - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ @@ -47,11 +49,6 @@ jobs: with: submodules: recursive fetch-depth: 0 - - name: Install Node.js dependencies - run: npm install postcss-cli - - name: Install autoprefixer - run: npm install autoprefixer - #run: npm ci - name: Setup Node.js uses: actions/setup-node@v2 with: