Skip to content

Commit

Permalink
chore: Migrate to github actions. (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion authored Dec 6, 2024
1 parent f4d61a4 commit b509041
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit b509041

Please sign in to comment.