-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b99114
commit 34fe0c9
Showing
4 changed files
with
59 additions
and
23 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,38 @@ | ||
name: Release lib | ||
# permissions required: | ||
# contents: write | ||
# packages: write | ||
# pull-requests: read | ||
# pull-requests: write | ||
# checks: write | ||
|
||
on: | ||
workflow_call: | ||
secrets: | ||
RELEASER_APP_KEY: | ||
description: the private key of the github app that will be used to create the release | ||
required: true | ||
|
||
jobs: | ||
base-jobs: | ||
uses: ./.github/workflows/lib-base.yml | ||
secrets: inherit | ||
permissions: | ||
contents: read | ||
packages: read | ||
pull-requests: write | ||
checks: write | ||
|
||
release: | ||
needs: base-jobs | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
pull-requests: read | ||
steps: | ||
- name: Release lib | ||
uses: smg-real-estate/.github-ts/.github/actions/release@v0.8.10 | ||
with: | ||
releaser-app-id: ${{ vars.RELEASER_APP_ID }} | ||
releaser-app-key: ${{ secrets.RELEASER_APP_KEY }} |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Publish Package to npmjs | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
semver: | ||
type: choice | ||
required: true | ||
default: patch | ||
options: [patch, minor, major] | ||
description: The semver of the release. | ||
jobs: | ||
release: | ||
uses: qualipool/swissrets-json/tree/master/.github/workflows/release-npm-package.yml | ||
permissions: | ||
contents: write | ||
packages: write | ||
pull-requests: write | ||
checks: write | ||
secrets: inherit |
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