debug package.json formatting on windows #146
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: tests | |
on: | |
push: | |
branches: | |
- '**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, 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 | |
- if: runner.os == 'Windows' | |
shell: bash | |
run: | | |
npm install npm | |
- name: run test | |
shell: bash | |
run: | | |
npm ci | |
npm run debug |