Bump @fontsource-variable/noto-sans-sc from 5.0.4 to 5.0.5 #17
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: Pr Checker | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- run: yarn install --frozen-lockfile | |
- run: yarn build | |
visual-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- run: yarn install --frozen-lockfile | |
- run: yarn add @percy/cli -D | |
- run: mkdir -p theme-dist/light && mkdir -p theme-dist/dark | |
- run: yarn build:light --base light | |
env: | |
NOTION_API_KEY: ${{secrets.NOTION_API_KEY}} | |
DATABASE_ID: ${{secrets.DATABASE_ID}} | |
- run: cp -R dist/* theme-dist/light | |
- run: yarn build:dark --base dark | |
env: | |
NOTION_API_KEY: ${{secrets.NOTION_API_KEY}} | |
DATABASE_ID: ${{secrets.DATABASE_ID}} | |
- run: cp -R dist/* theme-dist/dark | |
- run: npx percy snapshot theme-dist/ | |
env: | |
PERCY_TOKEN: ${{secrets.PERCY_TOKEN}} |