chore(release): prepare release 5.0.6 #130
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
Core: | |
name: Core tests with npm | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm ci | |
npx link-parent-bin -c tests | |
- name: Test build basic app | |
working-directory: ./tests/app-basic | |
run: npm run build:ci | |
- name: (simple app) build | |
working-directory: ./tests/app-simple | |
run: npm run build:ci | |
- name: (simple app) with Karma | |
working-directory: ./tests/app-simple | |
run: | | |
npm run build:ci | |
../../node_modules/.bin/karma.cmd start --singleRun | |
- name: Test build router app | |
working-directory: ./tests/app-router | |
run: npm run build:ci | |
- name: Test build scoped package app | |
working-directory: ./tests/app-scoped-package | |
run: npm run build:ci | |
- name: Test CSS extract | |
working-directory: ./tests/app-with-css-extract | |
run: | | |
npm run build:ci | |
../../node_modules/.bin/karma.cmd start --singleRun | |
- name: Test caching | |
working-directory: ./tests/app-filesystem-cache | |
run: | | |
npm run build:ci | |
npm run test | |
# run it twice to to use cache 2nd run (hopefully?) | |
npm run test | |
Write-Host ( Get-ChildItem .\node_modules\.bin | Measure-Object ).Count; | |
# - name: Test build app using 3rd party lib | |
# working-directory: ./tests/app-plugin-3rd-party | |
# run: npm run build:ci | |
- name: Test build app with dialog plugin | |
working-directory: ./tests/app-plugin-dialog | |
run: npm run build:ci | |
- name: Test build app with store plugin | |
working-directory: ./tests/app-plugin-store | |
run: npm run build:ci | |
PNPM: | |
name: Extra tests with PNPM | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm ci | |
npx link-parent-bin -c tests | |
- name: Prepare test PNPM | |
run: | | |
npm i -g pnpm@6 | |
pnpm install | |
- name: Test build basic app with PNPM | |
working-directory: ./tests/app-pnpm | |
run: | | |
npm run build:ci |