Skip to content

fix: compile svelte.xxx.js/ts files in Svelte 5 #123

fix: compile svelte.xxx.js/ts files in Svelte 5

fix: compile svelte.xxx.js/ts files in Svelte 5 #123

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- 'index.d.ts'
branches:
- master
pull_request:
paths-ignore:
- '*.md'
- 'LICENSE'
- 'index.d.ts'
branches:
- master
jobs:
test:
name: Node.js v${{ matrix.nodejs }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 3
strategy:
matrix:
nodejs: [18, 20, 22]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}
cache: npm
- name: Install
run: npm ci
- name: Linter
if: matrix.os != 'windows-latest'
run: npm run lint
- name: Test
run: npm test