Skip to content

Commit

Permalink
Merge pull request #2100 from facebook/endiliey-windows
Browse files Browse the repository at this point in the history
chore: docusaurus build on Windows with GitHub actions
  • Loading branch information
endiliey authored Dec 7, 2019
2 parents 5c39041 + 8d24e31 commit 3246939
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nodejs-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Docusaurus on Windows

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: windows-2019
strategy:
matrix:
node-version: [8.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Installation
run: yarn
- name: Docusaurus 1 Build
run: yarn build:v1
- name: Docusaurus 2 Build
run: yarn build:v2
env:
CI: true

0 comments on commit 3246939

Please sign in to comment.