Skip to content

update setup-node version #72

update setup-node version

update setup-node version #72

name: generate pages
on: push
jobs:
generate-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- 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