Skip to content

Commit

Permalink
chore: condense jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyrohrbough committed Apr 3, 2023
1 parent b9dd8c4 commit b7ec286
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/run.yml
@@ -1,7 +1,7 @@
name: Test and Release (on master)
name: Test and Release (if master)
on: push
jobs:
test:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -11,13 +11,5 @@ jobs:
node-version: 16
- run: npm ci
- run: npm test
release:
runs-on: ubuntu-latest
needs: test
# if: github.ref == 'refs/heads/master'
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Release @cypress/commit-info
run: npm run semantic-release -- --dry-run
# - if: github.ref == 'refs/heads/master'
- run: npm run semantic-release -- --dry-run

0 comments on commit b7ec286

Please sign in to comment.