Skip to content

[pre-commit.ci] pre-commit autoupdate #800

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #800

Workflow file for this run

name: Test Website
on:
pull_request:
branches: ["*"]
jobs:
publish:
name: Test Website
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- name: Check out repository πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Get yarn cache directory path πŸͺ„
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies πŸ§ͺ
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies πŸ“¦
run: yarn install
- name: Lint πŸ”
run: yarn run lint
- name: Build site πŸ”¨
run: yarn run build