Update nodejs-windows.yml

tweak for docusaurus build on v1 and v2
This commit is contained in:
Endi 2019-12-07 10:27:10 +07:00 committed by GitHub
parent 2b47dc66a3
commit 8d24e31df4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: Node CI Build on Windows name: Docusaurus on Windows
on: on:
# Trigger the workflow on push or pull request, # Trigger the workflow on push or pull request,
@ -22,9 +22,11 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: yarn and yarn build - name: Installation
run: | run: yarn
yarn - name: Docusaurus 1 Build
yarn build run: yarn build:v1
- name: Docusaurus 2 Build
run: yarn build:v2
env: env:
CI: true CI: true