From 18fd8c8cce88381fef0d185e801c36b9751e761c Mon Sep 17 00:00:00 2001 From: Justin Sun Date: Fri, 6 Dec 2024 22:59:18 -0800 Subject: [PATCH] fix test env --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10df971..e6ea5cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,9 @@ jobs: uses: actions/setup-node@v3 - name: Compile - run: yarn && yarn test + run: yarn && yarn test + env: + SCRAPYBARA_API_KEY: ${{ secrets.SCRAPYBARA_API_KEY }} publish: needs: [ compile, test ] @@ -54,5 +56,4 @@ jobs: npm publish --access public fi env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - SCRAPYBARA_API_KEY: ${{ secrets.SCRAPYBARA_API_KEY }} \ No newline at end of file + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file