Skip to content

chore(deps-dev): bump the npm-development group across 1 directory with 4 updates #256

chore(deps-dev): bump the npm-development group across 1 directory with 4 updates

chore(deps-dev): bump the npm-development group across 1 directory with 4 updates #256

Workflow file for this run

name: Build the docs
on:
# Runs on pull requests to the `main` branch and only for the `docs/**` path.
pull_request:
branches: [ main ]
paths:
- 'docs/**'
# Allows us to run this workflow manually from the Actions tab
workflow_dispatch:
env:
PNPM_CACHE_STORE_PATH: ""
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 7.0.1
- name: Install Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # 6.4.0
with:
node-version-file: './docs/.nvmrc'
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # 6.0.9
name: Install pnpm
with:
run_install: false
package_json_file: './docs/package.json'
- name: Get pnpm store directory
shell: bash
run: |
echo "PNPM_CACHE_STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0
name: Setup pnpm cache
with:
path: ${{ env.PNPM_CACHE_STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: |
cd docs
pnpm install
- name: Build the docs
run: |
cd docs
pnpm docs:build