-
Notifications
You must be signed in to change notification settings - Fork 23
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
Showing
6 changed files
with
58 additions
and
35 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
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 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 |
---|---|---|
@@ -1,3 +1,35 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get app installation token | ||
uses: npalm/action-app-token@dd4bb16d91ced5659bc618705c96b822c5a42136 # v1.1.0 | ||
id: token | ||
with: | ||
appId: ${{ secrets.APP_ID }} | ||
appPrivateKeyBase64: ${{ secrets.APP_PRIVATE_KEY_BASE64 }} | ||
appInstallationType: repo | ||
appInstallationValue: ${{ github.repository }} | ||
|
||
# bootstrap-sha and release-as needs to be removed after first release | ||
- name: Release | ||
uses: google-github-actions/release-please-action@af1990728f970ad54c88e130c02a1521988127a2 # v3.7.0 | ||
with: | ||
release-type: terraform-module | ||
token: ${{ steps.token.outputs.token }} | ||
include-v-in-tag: false | ||
signoff: "Niek Palm <[email protected]>" | ||
bootstrap-sha: 78bf422d362ea613ea5511dfa62d30bd00ffc025 | ||
|
||
|
||
|
||
name: 'Release' | ||
on: | ||
workflow_dispatch: | ||
|
@@ -12,23 +44,23 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 | ||
with: | ||
node-version: 14.18.1 | ||
node-version: 16 | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Run checks | ||
run: yarn run test && yarn lint && yarn run build | ||
|
||
- name: Get installation token | ||
uses: npalm/action-app-token@v1.0.0 | ||
- name: Get app installation token | ||
uses: npalm/action-app-token@dd4bb16d91ced5659bc618705c96b822c5a42136 # v1.1.0 | ||
id: app-token | ||
with: | ||
appId: ${{ secrets.APP_ID }} | ||
|
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