From 3fe402eef2ca7659eee95e23c52a9725d96b0754 Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:58:00 -0500 Subject: [PATCH] update CI --- .buildkite/pipeline.yml | 1 - .github/workflows/{node-ci.yml => ci.yml} | 19 ++++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) rename .github/workflows/{node-ci.yml => ci.yml} (51%) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index c34ed4d78..5eb5b7e20 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -124,7 +124,6 @@ steps: - echo "--- Install dependencies" - PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 yarn install --immutable - echo "--- Install browsers" - - npx playwright install --with-deps chromium - echo "+++ Run Browser integration tests :pray:" - yarn turbo run --filter='consent-tools-integration-tests' test:intg plugins: diff --git a/.github/workflows/node-ci.yml b/.github/workflows/ci.yml similarity index 51% rename from .github/workflows/node-ci.yml rename to .github/workflows/ci.yml index 73ecfacf0..77199f74f 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,12 @@ -name: Node CI +name: CI on: push: env: HUSKY: 0 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 jobs: - test: - name: "Test (Node.js v${{ matrix.node-version }})" + node: + name: "Test Node (Node.js v${{ matrix.node-version }})" runs-on: ubuntu-latest strategy: matrix: @@ -20,5 +20,18 @@ jobs: - run: yarn install --immutable - run: yarn turbo run --filter='./packages/node*' lint - run: yarn turbo run --filter='./packages/node*' test + consent: + name: Test Consent + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: "yarn" + - run: yarn install --immutable + - run: npx playwright install --with-deps chromium + - run: yarn turbo run --filter='consent-tools-integration-tests' test:intg +