Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Dec 6, 2024
1 parent 2ec1702 commit 2071e25
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@ jobs:
run: |
cp .env.ci .env
docker compose run --rm \
-e JWT=${JWT} \
-e AWS_CLOUDFRONT_PRIVATE_KEY=${AWS_CLOUDFRONT_PRIVATE_KEY} \
-e AWS_CLOUDFRONT_PUBLIC_KEY=${AWS_CLOUDFRONT_PUBLIC_KEY} \
-e AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT=${AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT} \
-e JWT=${{ secrets.JWT }} \
-e AWS_CLOUDFRONT_PRIVATE_KEY="${{ secrets.TEST_AWS_CLOUDFRONT_PRIVATE_KEY }}" \
-e AWS_CLOUDFRONT_PUBLIC_KEY="${{ secrets.TEST_AWS_CLOUDFRONT_PUBLIC_KEY }}" \
-e AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT="${{ secrets.TEST_AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT }}" \
spider sh -c "npm ci && npm run test"
env:
JWT: ${{ secrets.JWT }}
# Use mock AWS CloudFront keys, these do not grant permission to anything.
AWS_CLOUDFRONT_PRIVATE_KEY: ${{ secrets.TEST_AWS_CLOUDFRONT_PRIVATE_KEY }}
AWS_CLOUDFRONT_PUBLIC_KEY: ${{ secrets.TEST_AWS_CLOUDFRONT_PUBLIC_KEY }}
AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT: ${{ secrets.TEST_AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT }}

0 comments on commit 2071e25

Please sign in to comment.