mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* chore(ci): CI scripts cleanup, add Node 14 and 15 runs, bump checkout action * chore(ci): attempt to fix Yarn v2 install * chore(ci): another attempt to fix Yarn v2 install * use local yarn-deduplicate * move yarn config steps earlier * remove localhost registry config * revert changes, temporary remove lock update from postinstall * revert to use Yarn v2 only for website build * revert back localhost registry * missing flag * is it node 15 to blame? * not running yarn v2 on workspace so lock update can be reverted
31 lines
625 B
YAML
31 lines
625 B
YAML
name: Migration CLI E2E Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: ['10']
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- name: Installation
|
|
run: yarn
|
|
- name: Migrate D1 website
|
|
run: yarn test:v1Migration:migrate
|
|
- name: Build D1 migrated website
|
|
run: yarn test:v1Migration:build
|
|
env:
|
|
CI: true
|