Преглед изворни кода

Create env.integration file

cte пре 11 месеци
родитељ
комит
fea3daa98a
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      .github/workflows/code-qa.yml

+ 4 - 2
.github/workflows/code-qa.yml

@@ -56,9 +56,11 @@ jobs:
         with:
           node-version: '18'
           cache: 'npm'
+      - name: Create env.integration file
+        run: echo "OPEN_ROUTER_API_KEY=${{ secrets.OPEN_ROUTER_API_KEY }}" > .env.integration
       - name: Install dependencies
         run: npm run install:all
-      - run: xvfb-run -a npm test:integration
+      - run: xvfb-run -a npm run test:integration
         if: runner.os == 'Linux'
-      - run: npm test:integration
+      - run: npm run test:integration
         if: runner.os != 'Linux'