Skip to content

Commit 40006a0

Browse files
SK-2028: Beta Release for Node SDK v2 with Fern generated code. (#203)
* SK-1912: added code generated by fern (#194)
1 parent 143e1fc commit 40006a0

234 files changed

Lines changed: 11737 additions & 7841 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/beta-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ jobs:
1212
build-and-deploy:
1313
uses: ./.github/workflows/common-release.yml
1414
with:
15-
registry-url: 'https://registry.npmjs.org'
1615
tag: beta
1716
secrets: inherit

.github/workflows/common-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
15+
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 14.17.6
17+
node-version: '20.x'
1818

1919
- name: Install Packages
2020
run: npm install

.github/workflows/common-release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Common Release Workflow
33
on:
44
workflow_call:
55
inputs:
6-
registry-url:
7-
required: true
8-
type: string
96
tag:
107
required: false
118
type: string
@@ -21,8 +18,7 @@ jobs:
2118
fetch-depth: 0
2219
- uses: actions/setup-node@v1
2320
with:
24-
node-version: 14.17.6
25-
registry-url: ${{ inputs.registry-url }}
21+
node-version: '20.x'
2622

2723
- name: Install Packages
2824
run: npm install
@@ -81,12 +77,12 @@ jobs:
8177
run: |
8278
if [[ "${{ inputs.tag }}" == "beta" ]]; then
8379
npm publish --tag beta
84-
if [[ "${{ inputs.tag }}" == "public" ]]; then
80+
elif [[ "${{ inputs.tag }}" == "public" ]]; then
8581
npm publish
8682
elif [[ "${{ inputs.tag }}" == "internal" ]]; then
8783
curl -u ${{ secrets.JFROG_USERNAME }}:${{ secrets.JFROG_PASSWORD }} https://prekarilabs.jfrog.io/prekarilabs/api/npm/auth/ > ~/.npmrc
8884
npm config set registry https://prekarilabs.jfrog.io/prekarilabs/api/npm/npm/
89-
npm config set unsafe-perm true
85+
npm config fix
9086
npm publish
9187
fi
9288
env:

.github/workflows/internal-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ jobs:
1515
call-common-workflow:
1616
uses: ./.github/workflows/common-release.yml
1717
with:
18-
registry-url: 'https://prekarilabs.jfrog.io/prekarilabs/api/npm/npm/'
1918
tag: internal
2019
secrets: inherit

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ jobs:
1212
call-common-workflow:
1313
uses: ./.github/workflows/common-release.yml
1414
with:
15-
registry-url: 'https://registry.npmjs.org'
1615
tag: public
1716
secrets: inherit

0 commit comments

Comments
 (0)