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 f42ea92 commit 8f4a9fb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ jobs:
# These secrets are used for testing, and are not used in production
echo "AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT=\"$AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT\"" >> .env
echo "AWS_CLOUDFRONT_PRIVATE_KEY=\"$AWS_CLOUDFRONT_PRIVATE_KEY\"" >> .env
echo "AWS_CLOUDFRONT_PUBLIC_KEY=$AWS_CLOUDFRONT_PUBLIC_KEY" >> .env
docker compose run --rm spider sh -c "npm ci && npm run test"
env:
AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT: ${{ secrets.TEST_AWS_CLOUDFRONT_PUBLIC_KEYS_OBJECT }}
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 }}'
AWS_CLOUDFRONT_PRIVATE_KEY: '${{ secrets.TEST_AWS_CLOUDFRONT_PRIVATE_KEY }}'
AWS_CLOUDFRONT_PUBLIC_KEY: '${{ secrets.TEST_AWS_CLOUDFRONT_PUBLIC_KEY }}'
JWT: ${{ secrets.JWT }}

0 comments on commit 8f4a9fb

Please sign in to comment.