-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into haguirre/changeStreamFlowSSE
- Loading branch information
Showing
314 changed files
with
12,227 additions
and
5,126 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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
Description here... | ||
Description here... Help the reviewer by: | ||
- linking to an issue that includes more details | ||
- if it's a new feature include samples of how to use the new feature | ||
- (optional if issue link is provided) if you fixed a bug include basic bug details | ||
|
||
Checklist (if applicable): | ||
- [ ] PR title is following https://www.conventionalcommits.org/en/v1.0.0/ | ||
- [ ] Tested (manually, unit tested, etc.) | ||
- [ ] Changelog updated | ||
- [ ] Docs updated | ||
- [ ] Docs updated (updated docs or a docs bug required) |
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,71 @@ | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Bump Version for a package | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
packageDir: | ||
description: Package dir (ex. js/foo) | ||
type: string | ||
required: true | ||
packageName: | ||
description: Package name (ex. @genkit-ai/foo) | ||
type: string | ||
required: true | ||
releaseType: | ||
description: Release type | ||
type: choice | ||
default: patch | ||
required: true | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
- prerelease | ||
- premajor | ||
- preminor | ||
- prepatch | ||
preid: | ||
description: Prerelease identifier | ||
type: string | ||
default: rc | ||
required: true | ||
|
||
jobs: | ||
build: | ||
name: Version bump | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.GENKIT_RELEASER_GITHUB_TOKEN }} | ||
- uses: pnpm/action-setup@v3 | ||
- name: Set up node v20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
cache: 'pnpm' | ||
- name: 'version bump' | ||
uses: 'phips28/gh-action-bump-version@master' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GENKIT_RELEASER_GITHUB_TOKEN }} | ||
PACKAGEJSON_DIR: ${{ inputs.packageDir }} | ||
with: | ||
default: ${{ inputs.releaseType }} | ||
version-type: ${{ inputs.releaseType }} | ||
preid: ${{ inputs.preid }} | ||
commit-message: 'chore: bump ${{ inputs.packageName }} version to {{version}}' | ||
tag-prefix: '${{ inputs.packageName }}@' |
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 @@ | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Release Genkit JS (latest) | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Run build tasks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/action-setup@v3 | ||
- name: Set up node v21 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 21.x | ||
cache: 'pnpm' | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Run build script | ||
run: pnpm build | ||
- name: Run js tests | ||
run: pnpm test:js | ||
- name: Validate working directory is clean | ||
run: .github/workflows/scripts/ensure-clean-working-tree.sh | ||
- name: Set up node v21 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 21.x | ||
cache: 'pnpm' | ||
registry-url: 'https://wombat-dressing-room.appspot.com/' | ||
- name: release script | ||
run: scripts/release_main.sh | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |
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
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
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
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
Oops, something went wrong.