ci: Don't double run jobs

This commit is contained in:
Edmund Miller 2022-11-14 12:52:04 -06:00 committed by Thomas A. Christensen II
parent 57e49670a9
commit 05aef69bc1
3 changed files with 8 additions and 3 deletions

View file

@ -2,8 +2,12 @@ name: Example builds
on: on:
push: push:
branches:
- master
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
release:
types: [published]
jobs: jobs:
test: test:

View file

@ -15,9 +15,6 @@ jobs:
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build
- run: npm run format:check
- run: npm run lint
- run: npm run test
- run: npm run package - run: npm run package
- uses: JasonEtco/build-and-tag-action@v1 - uses: JasonEtco/build-and-tag-action@v1
env: env:

View file

@ -2,8 +2,12 @@ name: Run tests
on: on:
push: push:
branches:
- master
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
release:
types: [published]
jobs: jobs:
test: test: