-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: renamed and removing triggers (#1257)
- Loading branch information
Showing
8 changed files
with
19 additions
and
47 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
.github/workflows/NEW_release_cli.yml → .github/workflows/NEW_publish_cli.yml
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: New Release Packages | ||
name: Publish NPM Packages | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "Keel version (tag)" | ||
description: "Keel version to publish (tag)" | ||
required: true | ||
type: string | ||
publishTag: | ||
|
@@ -52,32 +52,24 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Install Go deps | ||
if: inputs.publishTag != 'latest' | ||
run: go mod download | ||
|
||
- name: Generate wasm binary | ||
if: ${{ matrix.package == 'wasm' && inputs.publishTag != 'latest' }} | ||
if: ${{ matrix.package == 'wasm' }} | ||
run: make wasm | ||
|
||
- name: Install ${{ matrix.package }} publish dependencies | ||
working-directory: ./packages/${{ matrix.package }} | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: "Update NPM version ${{ matrix.package }}" | ||
if: inputs.publishTag != 'latest' | ||
uses: reedyuk/[email protected] | ||
with: | ||
version: ${{ inputs.version }} | ||
package: ./packages/${{ matrix.package }} | ||
|
||
- name: NPM Publish ${{ matrix.package }} | ||
uses: JS-DevTools/npm-publish@v2 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
tag: ${{ inputs.publishTag }} | ||
package: ./packages/${{ matrix.package }} | ||
dry-run: ${{ inputs.dryRun }} | ||
strategy: upgrade | ||
strategy: all | ||
ignore-scripts: false | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
4 changes: 2 additions & 2 deletions
4
.github/workflows/github_release.yml → .github/workflows/OLD_github_release.yml
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
10 changes: 5 additions & 5 deletions
10
.github/workflows/new_prerelease.yml → .github/workflows/OLD_new_prerelease.yml
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
4 changes: 2 additions & 2 deletions
4
.github/workflows/npm_release.yml → .github/workflows/OLD_npm_release.yml
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
4 changes: 2 additions & 2 deletions
4
.github/workflows/pre_release.yml → .github/workflows/OLD_pre_release.yml
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