aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/node.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/node.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index 82c5c82..03cac87 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -10,6 +10,7 @@ on:
- "turbo.json"
- ".github/workflows/node.yml"
- ".syncpackrc"
+ - "**.svelte"
pull_request:
paths:
- "**.js"
@@ -19,11 +20,15 @@ on:
- "turbo.json"
- ".github/workflows/node.yml"
- ".syncpackrc"
+ - "**.svelte"
jobs:
- build-and-test:
- name: Build and Test
- runs-on: ubuntu-latest
+ lint-build-and-test:
+ name: Lint, Build and Test
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Cache turborepo
@@ -37,11 +42,12 @@ jobs:
uses: pnpm/action-setup@v4
with:
run_install: true
- version: 9
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "latest"
cache: "pnpm"
- - name: Build and Test
+ - name: Check formatting
+ run: pnpm lint
+ - name: Lint, Build and Test
run: pnpm build && pnpm test