Skip to content

Commit 6ef483d

Browse files
authored
Switch from changesets to heeler (#143)
* Switch from changesets to heeler * Update build
1 parent 9b76abd commit 6ef483d

File tree

7 files changed

+441
-57
lines changed

7 files changed

+441
-57
lines changed

.changelog/01.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fix
2+
Switch from changesets to heeler

.changeset/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/config.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/build-test-release.yml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,14 @@ jobs:
1414
steps:
1515
- name: Checkout Repo
1616
uses: actions/checkout@v4
17-
with:
18-
# check out full history
19-
fetch-depth: 0
2017

2118
- name: Install Pnpm
2219
uses: pnpm/action-setup@v4
2320

2421
- name: Setup Node.js
2522
uses: actions/setup-node@v4
2623
with:
27-
node-version: 22
24+
node-version: latest
2825
cache: pnpm
2926

3027
- name: Install dependencies
@@ -34,40 +31,9 @@ jobs:
3431
run: |
3532
pnpm run lint
3633
pnpm run check-format
37-
pnpm exec changeset status --since=origin/main
3834
3935
- name: Test
4036
run: pnpm run test
4137

4238
- name: Build
4339
run: pnpm run build
44-
45-
release:
46-
name: Release
47-
needs: build_lint_test
48-
permissions:
49-
contents: write # To push release tags
50-
pull-requests: write # To create release pull requests
51-
runs-on: ubuntu-latest
52-
if: ${{ github.ref == 'refs/heads/main' }}
53-
steps:
54-
- name: Checkout Repo
55-
uses: actions/checkout@v4
56-
57-
- name: Install Pnpm
58-
uses: pnpm/action-setup@v4
59-
60-
- name: Setup Node.js
61-
uses: actions/setup-node@v3
62-
with:
63-
node-version: 22
64-
cache: pnpm
65-
66-
- name: Install dependencies
67-
run: pnpm install --frozen-lockfile
68-
69-
- name: Build
70-
run: pnpm run build
71-
72-
- name: Changesets
73-
run: pnpm exec changeset status

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing
2+
3+
Before creating a pull request, run `pnpm exec heeler add` to create a changelog file that should be added and committed to the pull request branch.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"eslint": "^9.11.0",
5858
"eslint-config-important-stuff": "^1.1.0",
5959
"eslint-plugin-es5": "^1.5.0",
60+
"heeler": "^4.0.0",
6061
"husky": "^9.1.6",
6162
"jest": "^29.7.0",
6263
"jest-cli": "^29.7.0",

0 commit comments

Comments
 (0)