Skip to content

Lock file maintenance (#672) #615

Lock file maintenance (#672)

Lock file maintenance (#672) #615

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
env:
VOLTA_FEATURE_PNPM: 1
DEPLOY_TARGET: 'GitHub Pages'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: volta-cli/action@d253558a6e356722728a10e9a469190de21a83ef # v4
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- run: pnpm install --frozen-lockfile
- run: pnpm build
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
git-config-name: Mainmatter
git-config-email: [email protected]
single-commit: true