Skip to content

Commit e94a1d8

Browse files
committed
Updated CI
1 parent eddca26 commit e94a1d8

File tree

8 files changed

+28
-13
lines changed

8 files changed

+28
-13
lines changed

.changeset/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"commit": false,
55
"fixed": [],
66
"linked": [],
7-
"access": "restricted",
8-
"baseBranch": "release",
7+
"access": "public",
8+
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
1010
"ignore": []
1111
}

.changeset/nervous-beers-itch.md

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

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424
- name: Build
2525
run: npm run build
2626

27-
- name: Create Release Pull Request or Publish to npm
27+
- name: Create Release Pull Request
2828
id: changesets
2929
uses: changesets/action@v1
30+
with:
31+
# This expects you to have a script called release which does a build for your packages and calls changeset publish
32+
publish: npm run publish
3033
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "backhooks",
33
"scripts": {
44
"build": "npm run build --workspaces --if-present",
5-
"test": "npm run test --workspaces --if-present"
5+
"test": "npm run test --workspaces --if-present",
6+
"publish": "npm run build && changeset publish"
67
},
78
"workspaces": [
89
"packages/core",

packages/core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @backhooks/core
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- eddca26: Trying CI on release branch
8+
39
## 0.1.1
410

511
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@backhooks/core",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"scripts": {
55
"build": "tsc",
66
"test": "jest"

packages/examples/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @backhooks/examples
22

3+
## 0.0.3
4+
5+
### Patch Changes
6+
7+
- Set to private to avoid publishing to npm
8+
- Updated dependencies [eddca26]
9+
- @backhooks/core@0.1.2
10+
311
## 0.0.2
412

513
### Patch Changes

packages/examples/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@backhooks/examples",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
4+
"private": true,
45
"scripts": {
56
"test": "jest",
67
"start:express": "ts-node src/runtimes/express",
78
"start:fastify": "ts-node src/runtimes/fastify"
89
},
910
"dependencies": {
10-
"@backhooks/core": "^0.1.0",
11+
"@backhooks/core": "^0.1.2",
1112
"@backhooks/http": "^0.1.1",
1213
"fastify": "^4.11.0",
1314
"firebase-admin": "^11.4.1",

0 commit comments

Comments
 (0)