Skip to content

Add volta config to keep our env consistent between machines #94

Add volta config to keep our env consistent between machines

Add volta config to keep our env consistent between machines #94

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7.1.2
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm build:docs
- name: Generate Fallback Page
run: cp test-app/dist/index.html test-app/dist/404.html
- name: Upload to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: test-app/dist