Merge pull request #428 from yu23ki14/feature/fix-425 #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: generate pages | |
on: push | |
jobs: | |
generate-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.10.0' | |
- name: Cache dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ~/.yarn | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: install | |
run: yarn install | |
- name: generate | |
run: yarn run generate --fail-on-error |