Skip to content

chore(release): 1.8.1 #58

chore(release): 1.8.1

chore(release): 1.8.1 #58

name: publish-sandbox
on:
push:
branches:
- main
jobs:
publish-sandbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/[email protected]
with:
version: 7
- uses: actions/cache@v3
id: pnpm-cache
with:
path: |
**/node_modules
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- if: steps.pnpm-cache.outputs.cache-hit != 'true'
run: pnpm install
- run: pnpm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/sandbox/dist