From 39927324278b5d6cd63c3e5abb57d910d27b6df9 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 26 Oct 2023 09:44:36 +0100 Subject: [PATCH] Remove duplicated CI task --- .github/actions/test-build/action.yml | 18 ------------------ .github/workflows/npm-publish.yml | 10 ---------- .github/workflows/tests.yml | 7 ------- 3 files changed, 35 deletions(-) delete mode 100644 .github/actions/test-build/action.yml diff --git a/.github/actions/test-build/action.yml b/.github/actions/test-build/action.yml deleted file mode 100644 index edaa9b4b..00000000 --- a/.github/actions/test-build/action.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Test build Storybook - -on: - workflow_call: - -runs: - using: "composite" - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version-file: .nvmrc - - name: Install dependencies - run: npm ci - shell: bash - - name: Build Storybook - run: npm run build - shell: bash diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c5814410..41456618 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -55,15 +55,6 @@ jobs: - name: Tests uses: ./.github/actions/tests - test-build: - runs-on: ubuntu-latest - needs: - - check - steps: - - uses: actions/checkout@v3 - - name: Test build Storybook - uses: ./.github/actions/test-build - test-build-package: runs-on: ubuntu-latest needs: @@ -89,7 +80,6 @@ jobs: - check - lint - tests - - test-build - prototype-kit env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 074b9323..02ca5ce2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,13 +24,6 @@ jobs: - name: Tests uses: ./.github/actions/tests - test-build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Test build Storybook - uses: ./.github/actions/test-build - test-build-package: runs-on: ubuntu-latest steps: