Skip to content

Commit

Permalink
Re-instate Node setup
Browse files Browse the repository at this point in the history
  • Loading branch information
martignoni committed Aug 21, 2023
1 parent db0b9b7 commit b39cf4a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
HUGO_RELEASE: '0.116.1'
- name: Check Hugo installation
run: hugo env
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Run Node
run: npm ci
- name: Build website with Hugo
run: hugo --minify --printI18nWarnings
- name: Deploy website with rsync
Expand Down

0 comments on commit b39cf4a

Please sign in to comment.