-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Migrate to github actions. (#17)
- Loading branch information
1 parent
f4d61a4
commit b509041
Showing
2 changed files
with
33 additions
and
40 deletions.
There are no files selected for viewing
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,33 @@ | ||
name: Verify Hello App | ||
on: | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
- cron: '0 9 * * *' | ||
push: | ||
branches: [ main, 'feat/**' ] | ||
paths-ignore: | ||
- '**.md' # Do not need to run CI for markdown changes. | ||
pull_request: | ||
branches: [ main, 'feat/**' ] | ||
paths-ignore: | ||
- '**.md' | ||
|
||
jobs: | ||
build-and-run: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
id-token: write # Needed if using OIDC to get release secrets. | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
|
||
- run: npm i | ||
|
||
- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app-v2.0.1 | ||
with: | ||
use_server_key: true | ||
role_arn: ${{ vars.AWS_ROLE_ARN }} | ||
command: node index.js |