Skip to content

Commit b509041

Browse files
authored
chore: Migrate to github actions. (#17)
1 parent f4d61a4 commit b509041

File tree

2 files changed

+33
-40
lines changed

2 files changed

+33
-40
lines changed

.circleci/config.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Verify Hello App
2+
on:
3+
schedule:
4+
# * is a special character in YAML so you have to quote this string
5+
- cron: '0 9 * * *'
6+
push:
7+
branches: [ main, 'feat/**' ]
8+
paths-ignore:
9+
- '**.md' # Do not need to run CI for markdown changes.
10+
pull_request:
11+
branches: [ main, 'feat/**' ]
12+
paths-ignore:
13+
- '**.md'
14+
15+
jobs:
16+
build-and-run:
17+
runs-on: ubuntu-latest
18+
19+
permissions:
20+
id-token: write # Needed if using OIDC to get release secrets.
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- uses: actions/setup-node@v4
26+
27+
- run: npm i
28+
29+
- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app-v2.0.1
30+
with:
31+
use_server_key: true
32+
role_arn: ${{ vars.AWS_ROLE_ARN }}
33+
command: node index.js

0 commit comments

Comments
 (0)