chore: update node and hugo version
| | |
| | | - name: setup node |
| | | uses: actions/setup-node@v3 |
| | | with: |
| | | node-version: 14 |
| | | node-version: 18 |
| | | - name: install |
| | | run: | |
| | | npm ci |
| | |
| | | uses: peaceiris/actions-hugo@v2 |
| | | with: |
| | | extended: true |
| | | hugo-version: 0.91.2 |
| | | hugo-version: 0.111.3 |
| | | - name: setup node |
| | | uses: actions/setup-node@v3 |
| | | with: |
| | | node-version: 14 |
| | | node-version: 18 |
| | | - name: install |
| | | run: | |
| | | npm ci |
| | | npm run prepare |
| | | - name: cache dependencies |
| | | uses: actions/cache@v3 |
| | | with: |
| | | path: ~/.npm |
| | | key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} |
| | | restore-keys: | |
| | | ${{ runner.os }}-node- |
| | | - name: build |
| | | run: npm run build |
| | | - name: commit resources |