From 05fd6abe919155c0869315eeefdeb7e326ba2564 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 12 Aug 2024 01:04:12 -0400 Subject: [PATCH] Use env vars in workflow --- .github/workflows/test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8407bf6..9aa63c6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -46,6 +46,9 @@ jobs: ${{ github.workspace }}/node_modules - if: steps.cache.outputs.cache-hit != 'true' run: npm ci + env: + youTubeKeys_visitorData: ${{ secrets.YOUTUBEKEYS_VISITORDATA }} + youTubeKeys_poToken: ${{ secrets.YOUTUBEKEYS_POTOKEN }} - name: Run SQLite Tests timeout-minutes: 5 run: npx nyc --silent npm test @@ -83,6 +86,8 @@ jobs: - name: Run Postgres Tests env: TEST_POSTGRES: true + youTubeKeys_visitorData: ${{ secrets.YOUTUBEKEYS_VISITORDATA }} + youTubeKeys_poToken: ${{ secrets.YOUTUBEKEYS_POTOKEN }} timeout-minutes: 5 run: npx nyc --silent npm test - name: cache nyc output