-
Notifications
You must be signed in to change notification settings - Fork 36
44 lines (44 loc) · 1.05 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
tests:
runs-on: ubuntu-latest
name: Run Tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Unit Tests
run: |
npm ci
npm run test
- name: Build
run: npm run build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::339713045997:role/GithubActionsRole
aws-region: us-east-1
- name: Integration Tests Act
uses: ./
with:
secret-ids: |
SampleSecret1
SAMPLESECRET1_ALIAS, SampleSecret1
/special/chars/secret
0/special/chars/secret
PrefixSecret*
JsonSecret
parse-json-secrets: true
- name: Integration Tests Assert
run: npm run integration-test
- name: Codecov
uses: codecov/codecov-action@v4