-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Todd Baert <[email protected]>
- Loading branch information
Showing
15 changed files
with
135 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
on: | ||
push: | ||
branches: | ||
- 'release-please**' | ||
|
||
env: | ||
CORE_PACKAGE: core | ||
|
||
name: Audit Pending Releases | ||
jobs: | ||
npm-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.ref }} | ||
|
||
# if this is an SDK release, make sure there's no pending releases for @openfeature/core | ||
- name: Check for Pending Dependency PRs | ||
if: ${{ !endsWith(github.ref_name, env.CORE_PACKAGE) }} | ||
run: | | ||
if [ $(gh pr list --search '"release ${{ env.CORE_PACKAGE }}" in:title' | wc -l) -gt 0 ]; \ | ||
then echo "Pending @openfeaure/${{ env.CORE_PACKAGE }} release. Please release @openfeaure/${{ env.CORE_PACKAGE }} first!" && exit 1; \ | ||
else echo "No pending @openfeaure/${{ env.CORE_PACKAGE }} releases"; \ | ||
fi | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
registry-url: "https://registry.npmjs.org" | ||
cache: 'npm' | ||
|
||
# if this is an @openfeature/core release, but the SDKs to use this version as a peer, and commit back | ||
- name: Update Peer Version in Dependants | ||
if: ${{ endsWith(github.ref_name, env.CORE_PACKAGE) }} | ||
run: | | ||
npm run update-core-peers && \ | ||
! git diff-files --quiet && \ | ||
( echo 'Updated peer dependency in dependants, commiting...' | ||
git add --all && \ | ||
git config user.name "openfeature-peer-update-bot" && \ | ||
git config user.email "[email protected]" && \ | ||
git commit -m 'chore: bump @openfeaure/${{ env.CORE_PACKAGE }} peer' -s && \ | ||
git push ) || echo 'Peer dependency in dependants is already up to date.' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://typedoc.org/schema.json", | ||
"name": "@openfeature/web-sdk", | ||
"includeVersion": true, | ||
"entryPoints": [ | ||
"src/index.ts", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://typedoc.org/schema.json", | ||
"name": "@openfeature/react-sdk", | ||
"includeVersion": true, | ||
"entryPoints": [ | ||
"src/index.ts", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://typedoc.org/schema.json", | ||
"name": "@openfeature/server-sdk", | ||
"includeVersion": true, | ||
"entryPoints": [ | ||
"src/index.ts", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://typedoc.org/schema.json", | ||
"name": "@openfeature/core", | ||
"includeVersion": true, | ||
"entryPoints": [ | ||
"src/index.ts", | ||
] | ||
} |
Oops, something went wrong.