Add PR checking action, update Docusaurus

This commit is contained in:
Sacha Weatherstone 2021-04-30 17:48:33 +10:00
parent 9fcfde6ccb
commit 3c75438c41
3 changed files with 197 additions and 490 deletions

18
.github/workflows/pr.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Pull Request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v2-beta
with:
node-version: 14
- run: npm install -g yarn
- run: cd website
- run: yarn install
- run: yarn run build

View file

@ -12,8 +12,8 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.72",
"@docusaurus/preset-classic": "^2.0.0-alpha.72",
"@docusaurus/core": "^2.0.0-alpha.74",
"@docusaurus/preset-classic": "^2.0.0-alpha.74",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"docusaurus": "^2.0.0-alpha.378053ac5",

File diff suppressed because it is too large Load diff