Skip to content

debug windows

debug windows #189

Workflow file for this run

name: tests
on:
push:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
# handle NPM / Node.js repeatedly bricking their npm setup on Windows
# Note that this won't work if it uses --no-save
- if: runner.os == 'Windows'
shell: bash
run: |
npm i npm
# format package.json is to account for the above `npm i npm` command
- name: run test
shell: bash
run: |
npm ci
npx playwright install --with-deps
npm run format package.json
- name: compile
run: npm run compile
- name: coverage
run: npm run test:coverage
- name: spelling
run: npm run test:spelling
- name: format
run: npm run test:format
- name: docs
run: npm run test:docs
- name: deps
run: npm run test:deps
- name: lint
run: npm run test:lint