Skip to content

fix: typos, formatting, etc #1043

fix: typos, formatting, etc

fix: typos, formatting, etc #1043

Workflow file for this run

# .github/workflows/preview.yml
name: Deploy PR previews
concurrency:
group: preview-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
jobs:
deploy-preview:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- name: Cached LFS checkout
uses: nschloe/action-cached-lfs-checkout@f46300cd8952454b9f0a21a3d133d4bd5684cfc2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 18.x
cache: npm
- name: Install and Build
run: |
npm clean-install
npm run build
env:
BASE_URL: /pr-preview/pr-${{ github.event.number }}
- name: Deploy preview
uses: rossjrw/pr-preview-action@430e3dfc1de8a8ae77e77d862d25676ef9db55d1
with:
source-dir: ./build/