From 6db166f9d274305914735e03c0dd4c736ef30bd6 Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Wed, 28 Feb 2024 17:35:03 +0100 Subject: [PATCH] Fix CI --- .github/workflows/publish.yml | 2 +- .github/workflows/pull-request.yml | 2 +- .github/workflows/push.yml | 4 ++-- package.json | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9bfb677..6081ca0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: registry-url: 'https://registry.npmjs.org' always-auth: true cache: 'npm' - - run: npm ci + - run: npm ci --workspaces - name: Publish latest version if: steps.release.outputs.tag == '' run: npm publish --provenance diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0f98d4e..c28ebcd 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -24,7 +24,7 @@ jobs: with: node-version: 20 cache: npm - - run: npm ci + - run: npm ci --workspaces env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 - run: npm run test:types diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 73b4c43..8174b1a 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -20,7 +20,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - run: npm ci + - run: npm ci --workspaces env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 - run: npm run test:types @@ -49,7 +49,7 @@ jobs: with: node-version: 20 cache: npm - - run: npm ci + - run: npm ci --workspaces - run: npm run test:wpt:${{ matrix.browser }} env: HOME: /root diff --git a/package.json b/package.json index 17fe6e6..7847f4f 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,7 @@ "wpt-runner": "^5.0.0" }, "workspaces": [ + ".", "test/rollup", "test/webpack" ]