docusaurus/.github/workflows/migration-cli-e2e-test.yml
Bartosz Kaszubowski 3e101f86b7
chore(ci): CI scripts cleanup, add Node 14 runs, bump checkout action (#3849)
* 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
2020-12-01 16:22:03 +01:00

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