[patch] update deps #326
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: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: actions/setup-node@v4.0.3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Convert symlinks | |
uses: electrovir/convert-symlinks@dev | |
# handle NPM / Node.js repeatedly bricking their npm setup on Windows | |
# Note that this won't work if it uses --no-save | |
- name: Fix Windows npm installation | |
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 tests | |
shell: bash | |
run: | | |
npm ci | |
npx playwright install --with-deps | |
npm run compile | |
npm run format package.json | |
npm run test:all |