mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
chore: add GitHub actions for v2 windows build
This commit is contained in:
parent
5c39041dc8
commit
968844eac0
|
|
@ -0,0 +1,30 @@
|
|||
name: Node CI Build 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, 10.x, 12.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: yarn and yarn build
|
||||
run: |
|
||||
yarn
|
||||
yarn build
|
||||
env:
|
||||
CI: true
|
||||
Loading…
Reference in New Issue