From cf3357a48359d669022b795a8888f238743dbb13 Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Sat, 30 Nov 2024 22:22:52 -0800 Subject: [PATCH] Add svelte-check to CI. --- .github/workflows/svelte-check.yml | 27 +++++++++++++++++++++++++++ CHANGELOG.md | 4 ++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/svelte-check.yml diff --git a/.github/workflows/svelte-check.yml b/.github/workflows/svelte-check.yml new file mode 100644 index 000000000..15f929c86 --- /dev/null +++ b/.github/workflows/svelte-check.yml @@ -0,0 +1,27 @@ +name: Svelte check (types and a11y) + +on: + push: + branches: ['main'] + pull_request: + branches: ['main'] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + name: Install dependencies + - run: npx svelte-check --tsconfig ./tsconfig.json .svelte-kit + name: Run svelte-check diff --git a/CHANGELOG.md b/CHANGELOG.md index ea1eb14e8..3583d5c7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ Dates are in `YYYY-MM-DD` format and versions are in [semantic versioning](http: - Fixed exiting reactivity bug in StageView. - Fixed Safari color emoji rendering. +### Maintenance + +- Add svelte-check to CI. + ## 0.13.0 2024-11-02 ### Fixed