-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (28 loc) · 1.14 KB
/
security-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
name: Security_Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
e2e-tests:
name: Security-Testing
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
- name: Install Dependencies
run: npm install
- name: Run Security test
env:
VITE_AWS_COGNITO_IDENTITY_POOL_ID_TEST: ${{ secrets.VITE_AWS_COGNITO_IDENTITY_POOL_ID_TEST }}
VITE_AWS_REGION_TEST: ${{ secrets.VITE_AWS_REGION_TEST }}
VITE_AWS_USER_POOL_ID_TEST: ${{ secrets.VITE_AWS_USER_POOL_ID_TEST }}
VITE_AWS_USER_POOL_WEB_CLIENT_ID_TEST: ${{ secrets.VITE_AWS_USER_POOL_WEB_CLIENT_ID_TEST }}
VITE_AWS_COGNITO_USERNAME_TEST: ${{ secrets.VITE_AWS_COGNITO_USERNAME_TEST }}
VITE_AWS_COGNITO_PASSWORD_TEST: ${{ secrets.VITE_AWS_COGNITO_PASSWORD_TEST }}
VITE_AWS_IAM_AUTH_ROLE_NAME_TEST: ${{ secrets.VITE_AWS_IAM_AUTH_ROLE_NAME_TEST }}
VITE_AWS_IAM_UNAUTH_ROLE_NAME_TEST: ${{ secrets.VITE_AWS_IAM_UNAUTH_ROLE_NAME_TEST }}
run: cd security-tests/ ; npm run test