Skip to content

Main PR

Main PR #66

Workflow file for this run

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