Skip to content

Bump cross-spawn and nextra-theme-docs #54

Bump cross-spawn and nextra-theme-docs

Bump cross-spawn and nextra-theme-docs #54

Workflow file for this run

name: pipeline
on: [push, pull_request]
jobs:
pipeline:
name: pipeline
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.md[x]?') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Install and build
run: npm ci
- name: Build site
run: npm run build