diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 3061fa7e..f837fd18 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -6,7 +6,6 @@ on: - main types: - opened - - edited - synchronize push: branches: @@ -14,7 +13,7 @@ on: jobs: test: uses: ./.github/workflows/test.yml - deploy-preview-components: + components: needs: - test defaults: @@ -51,7 +50,7 @@ jobs: AWS_SECRET_ACCESS_KEY: '${{ secrets.AWS_SECRET_ACCESS_KEY }}' AWS_REGION: '${{ secrets.AWS_REGION }}' DEST_DIR: '${{ env.DEST_DIR_COMPONENTS }}' - deploy-preview-embed: + embed: needs: - test defaults: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6cdf624c..07ef844b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: pull_request: workflow_dispatch: jobs: - lint-components: + components: runs-on: ubuntu-latest defaults: run: @@ -24,7 +24,7 @@ jobs: run: npm ci - name: lint run: npm run lint - lint-embed: + embed: runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da55e994..8926c821 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: workflow_call: jobs: - test-components: + components: runs-on: ubuntu-latest defaults: run: @@ -26,7 +26,7 @@ jobs: start: npm start working-directory: ./packages/components wait-on: 'http://localhost:8000' - test-embed: + embed: runs-on: ubuntu-latest defaults: run: