Skip to content

Commit

Permalink
Merge build and PR workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Mar 3, 2024
1 parent 47156dc commit 13445d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 40 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
name: Build and Release
name: Build

on:
push:
branches:
- main
paths-ignore:
- README.md
- CHANGELOG.md
pull_request:
branches:
- main
paths-ignore:
- README.md
- CHANGELOG.md
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}

jobs:
build:
Build:
runs-on: ubuntu-latest
name: 🛠️ Build

Expand Down Expand Up @@ -39,6 +48,7 @@ jobs:
run: pnpm test

- name: 📣 Create Release Pull Request or Publish to npm
if: ${{ github.ref == 'refs/heads/main' }}
uses: changesets/action@v1
with:
title: "chore(release): version packages"
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/pr.yml

This file was deleted.

0 comments on commit 13445d6

Please sign in to comment.