Bump prettier from 2.8.8 to 3.0.0 #386
Workflow file for this run
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
name: Build | |
on: | |
# Runs on pull requests targeting the default branch | |
pull_request: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allow this workflow to be called by other workflows | |
workflow_call: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup app | |
uses: ./.github/actions/setup | |
- name: Restore cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
dist | |
key: ${{ runner.os }}-build-${{ hashFiles('dist') }} | |
restore-keys: | | |
${{ runner.os }}-build- | |
- name: Setup Pages | |
id: pages | |
uses: actions/configure-pages@v3 | |
- name: Static HTML export | |
run: npm run build -- --base=${{ steps.pages.outputs.base_url }}/ | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: ./dist |