Skip to content

Commit 4f82937

Browse files
authored
feature: publish beta apis to npm and sync to GitHub (#4)
* publish beta to public npm * publish beta apis to npm and sync to github
1 parent d2255f0 commit 4f82937

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131

3232
- name: Release beta SDKs
3333
env:
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3435
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
3536
run: fern generate --api beta --group sdks --version ${{ github.ref_name }}
3637

fern/beta/generators.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ groups:
66
version: 0.5.18
77
output:
88
location: npm
9-
url: npm.buildwithfern.com
10-
package-name: "@devrev-fern/beta"
9+
package-name: "@fern-api/devrev-beta"
10+
token: ${NPM_TOKEN}
11+
github:
12+
repository: fern-devrev/devrev-node-beta
1113
config:
12-
namespaceExport: DevRevBeta
14+
namespaceExport: DevRevBeta

0 commit comments

Comments
 (0)