From a19004166e056b88f57870f88d634f5894c05900 Mon Sep 17 00:00:00 2001 From: Elliot Blackburn Date: Thu, 28 Dec 2023 18:27:28 +0000 Subject: [PATCH] increase test timeout for ci --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 +- package.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a287728..810cad2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,4 +23,4 @@ jobs: - name: npm ci, build, and test run: | npm ci - npm test \ No newline at end of file + npm test-ci \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c302ca3..0f441ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: with: node-version: 20 - run: npm install - - run: npm test + - run: npm test-ci publish-npm: needs: build diff --git a/package.json b/package.json index f1e3c80..030d3d1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "scripts": { "lint": "prettier --trailing-comma es5 --single-quote --list-different '{src,tests,bin}/**/*.js'", "lint-fix": "prettier --trailing-comma es5 --single-quote --list-different '{src,tests,bin}/**/*.js' --write", - "test": "mocha ./tests/index.js" + "test": "mocha ./tests/index.js", + "test-ci": "mocha ./tests/index.js --timeout 180000" }, "bin": { "mdpdf": "bin/index.js"