Skip to content

Commit

Permalink
Added Node installation
Browse files Browse the repository at this point in the history
  • Loading branch information
imendizabal committed Jun 25, 2024
1 parent fe5c6b4 commit ce22a74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '14' # Specify the Node.js version you need
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Install PostCSS CLI
run: npm install -g postcss-cli
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
Expand Down

0 comments on commit ce22a74

Please sign in to comment.