Merge pull request #249 from aws-geospatial/ALS-1798_maplibre-gl #619
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: [main] | |
jobs: | |
security-tests: | |
name: Security tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
- name: Install dependencies | |
run: cd security-tests/ && npm install | |
- name: Run security tests | |
env: | |
IDENTITY_POOL_ID: ${{ secrets.IDENTITY_POOL_ID }} | |
USER_POOL_ID: ${{ secrets.USER_POOL_ID }} | |
USER_POOL_CLIENT_ID: ${{ secrets.USER_POOL_CLIENT_ID }} | |
COGNITO_EMAIL: ${{ secrets.COGNITO_EMAIL }} | |
COGNITO_PASSWORD: ${{ secrets.COGNITO_PASSWORD }} | |
IAM_AUTH_ROLE_NAME: ${{ secrets.IAM_AUTH_ROLE_NAME }} | |
IAM_UNAUTH_ROLE_NAME: ${{ secrets.IAM_UNAUTH_ROLE_NAME }} | |
run: cd security-tests/ && npm run test |