diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1d7ae4d..b5ea96e 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -13,6 +13,7 @@ on: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 20 steps: - uses: actions/checkout@v2 @@ -25,13 +26,17 @@ jobs: cache: npm - name: Install dependencies - run: npm ci + run: npm ci --ignore-scripts - name: Build run: npm run build test: runs-on: ubuntu-latest + timeout-minutes: 20 + env: + PUPPETEER_SKIP_DOWNLOAD: true + PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome steps: - uses: actions/checkout@v2 @@ -44,7 +49,7 @@ jobs: cache: npm - name: Install dependencies - run: npm ci + run: npm ci --ignore-scripts - name: Test run: npm run test @@ -73,4 +78,3 @@ jobs: uses: fossa-contrib/fossa-action@v1 with: fossa-api-key: ${{ env.FOSSA_API_KEY }} - diff --git a/tsconfig.json b/tsconfig.json index 20650ce..7d33ae5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,6 +23,7 @@ "src/**/*" ], "exclude": [ - "src/stories/**/*" + "src/stories/**/*", + "src/**/*.test.ts" ] }