From 81740ad4b95e34798741ea2d6604a7a30b7e33b2 Mon Sep 17 00:00:00 2001 From: Markus Blomqvist Date: Sun, 24 Mar 2024 18:30:58 +0200 Subject: [PATCH] Add Windows to the CI OS matrix --- .eslintrc.js | 4 ++-- .github/workflows/ci.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 739037d..f677761 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,8 +5,8 @@ module.exports = { extends: ['standard-with-typescript', 'prettier'], parserOptions: { project: [ - path.resolve(__dirname, './packages/*/tsconfig.json'), - path.resolve(__dirname, './apps/*/tsconfig.json'), + path.resolve(__dirname, './packages/next-rest-framework/tsconfig.json'), + path.resolve(__dirname, './apps/example/tsconfig.json'), path.resolve(__dirname, './docs/tsconfig.json') ] }, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e6f015..ba172e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,11 @@ on: jobs: build: name: "Run CI pipeline" - runs-on: ubuntu-latest strategy: matrix: + os: [ubuntu-latest, windows-latest] node: [18, 20] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2