Bump @svgr/webpack from 7.0.0 to 8.1.0 in /site #376
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 is a basic workflow to help you get started with Actions | |
name: Site Tests | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the main branch | |
on: | |
push: | |
branches: [main] | |
paths: ['site/**', '.github/workflows/tests-site.yml'] | |
pull_request: | |
branches: [main] | |
paths: ['site/**', '.github/workflows/tests-site.yml'] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
# Node is required for npm | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
# Install and build Docusaurus website | |
- name: Build Docusaurus website | |
run: | | |
yarn | |
cd site | |
yarn | |
yarn build | |
- name: Returns true if the site has been generated | |
run: | | |
[ -d "./site/docs/modules" ] |