From a6ea307c82097239a387023029348045c8771999 Mon Sep 17 00:00:00 2001 From: Andrew Huth Date: Thu, 21 Mar 2024 07:14:05 -0400 Subject: [PATCH] Add a CI job to run against the public EDS storybook I previously didn't add this because EDS's storybook is out of our control, and I don't want the tests here to start failing if something gets borked over there. But I figure now that it's fine to add a non-blocking check as another validation on any changes. --- .github/workflows/tests.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 54b1d5f..9239f19 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,3 +32,23 @@ jobs: - name: Integration Tests run: npm run test:integrationOnly + + validate-on-eds: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version-file: '.node-version' + + - name: Install deps + uses: bahmutov/npm-install@v1 + + - name: Build + run: npm run build + + - name: Run on EDS + run: npm run demo:eds