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: