From 05aef69bc167331cbfda6314dc4c01ddb54ffac8 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Mon, 14 Nov 2022 12:52:04 -0600 Subject: [PATCH] ci: Don't double run jobs --- .github/workflows/example.yml | 4 ++++ .github/workflows/publish.yml | 3 --- .github/workflows/test.yml | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 2d69964..c3aa35c 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -2,8 +2,12 @@ name: Example builds on: push: + branches: + - master pull_request: workflow_dispatch: + release: + types: [published] jobs: test: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 90d9944..683553a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,9 +15,6 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build - - run: npm run format:check - - run: npm run lint - - run: npm run test - run: npm run package - uses: JasonEtco/build-and-tag-action@v1 env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96101da..7e45cfb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,8 +2,12 @@ name: Run tests on: push: + branches: + - master pull_request: workflow_dispatch: + release: + types: [published] jobs: test: