Update to svelte 5 #543
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: Run tests | |
on: push | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
env: | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | |
steps: | |
- name: Install ubuntu requirements | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get install -y libx11-dev libxss-dev icnsutils graphicsmagick libappindicator1 libxtst-dev | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Specify MSVS version | |
if: ${{ matrix.os == 'windows-latest' }} | |
shell: powershell | |
run: | | |
echo "GYP_MSVS_VERSION=2022" >> $env:GITHUB_ENV | |
- run: npm ci | |
- run: npm rebuild | |
- run: npm run test-lib | |
- name: Run integration tests | |
if: ${{ matrix.os != 'ubuntu-latest' }} | |
run: npm run test-ui | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: logs | |
#/Users/runner/Library/Logs/mocha/ | |
# ~/.config/Before Dawn/logs/ | |
path: | | |
C:\Users\runneradmin\AppData\Roaming\mocha\logs\ |