Skip to content

Commit 8574d45

Browse files
committed
Bump to v0.1.0
1 parent b6f3f3d commit 8574d45

File tree

3 files changed

+16
-35
lines changed

3 files changed

+16
-35
lines changed

.changeset/two-ears-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/federation-composition': minor
3+
---
4+
5+
Release v0.1.0

.github/workflows/main.yaml

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,12 @@ on:
44
branches:
55
- main
66
jobs:
7-
test:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: checkout
11-
uses: actions/checkout@v4
12-
with:
13-
fetch-depth: 2
14-
token: ${{ secrets.GUILD_BOT_TOKEN }}
15-
16-
- name: setup pnpm
17-
uses: pnpm/action-setup@v2
18-
19-
- name: setup node
20-
uses: actions/setup-node@v3
21-
with:
22-
node-version: 20
23-
cache: 'pnpm'
24-
25-
- name: install dependencies
26-
run: pnpm install --frozen-lockfile
27-
28-
- name: prepare npm credentials
29-
run: |
30-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> $HOME/.npmrc
31-
32-
- name: publish stable
33-
id: changesets
34-
uses: changesets/[email protected]
35-
with:
36-
publish: pnpm build && changeset publish
37-
commit: 'chore(release): update package version'
38-
title: 'Upcoming Release Changes'
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GUILD_BOT_TOKEN }}
7+
stable:
8+
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
9+
with:
10+
releaseScript: release
11+
nodeVersion: 20
12+
packageManager: 'pnpm'
13+
secrets:
14+
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
15+
npmToken: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
],
4545
"scripts": {
4646
"bench": "tsx ./benchmark.ts",
47-
"build": "rimraf dist && bob check && bob build && rimraf dist/README.md",
47+
"build": "rimraf dist && bob check && bob build",
4848
"format": "prettier --write .",
49+
"release": "pnpm build && changeset publish",
4950
"test": "vitest --config ./vitest.config.js",
5051
"typecheck": "tsc --noEmit --project tsconfig.build.json"
5152
},

0 commit comments

Comments
 (0)