Skip to content

Commit

Permalink
fix(ci): add Google Safe Browsing API key to tests workflows
Browse files Browse the repository at this point in the history
The commit adds the Google Safe Browsing API key as an environment variable in node and edge runtime workflows. This is essential to facilitate secure access and effective unit testing execution in these workflows.
  • Loading branch information
hckhanh committed Mar 1, 2024
1 parent a72d7e0 commit 1a53f52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
run: pnpm install
- name: Run unit tests
run: pnpm test -- --environment=node
env:
GOOGLE_SAFE_BROWSING_API_KEY: ${{ secrets.GOOGLE_SAFE_BROWSING_API_KEY }}
edge:
name: Edge Runtime
needs: lints
Expand All @@ -69,6 +71,8 @@ jobs:
run: pnpm install
- name: Run unit tests
run: pnpm test -- --environment=edge-runtime
env:
GOOGLE_SAFE_BROWSING_API_KEY: ${{ secrets.GOOGLE_SAFE_BROWSING_API_KEY }}
deno:
name: Deno
needs: lints
Expand Down

0 comments on commit 1a53f52

Please sign in to comment.