diff options
Diffstat (limited to '.github/workflows/node.yml')
-rw-r--r-- | .github/workflows/node.yml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 90e9b5e..03cac87 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -6,24 +6,29 @@ on: - "**.js" - "**.ts" - "package.json" - - "packages/**" + - "src/packages/**" - "turbo.json" - ".github/workflows/node.yml" - ".syncpackrc" + - "**.svelte" pull_request: paths: - "**.js" - "**.ts" - "package.json" - - "packages/**" + - "src/packages/**" - "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 @@ -42,5 +47,7 @@ jobs: 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 |