Update dependency eslint-config-prettier to v9 #2360
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will generate the static page under `pr` subdirectory inside the `gh-pages` branch | |
# This workflow will run every time there's a PR opened, reopened, synchronize, or closed | |
name: Deploy PR previews | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
concurrency: preview-${{ github.ref }} | |
jobs: | |
deploy-preview: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install and Build | |
run: | | |
yarn install | |
yarn prepare:ghpages | |
# Reference: https://github.com/rossjrw/pr-preview-action | |
- name: Deploy preview | |
uses: rossjrw/pr-preview-action@v1 | |
with: | |
source-dir: ./ghpages/ | |
umbrella-dir: pr |