Skip to content

Commit

Permalink
increase test timeout for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotblackburn committed Dec 28, 2023
1 parent 6e75bf0 commit b343620
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: npm ci, build, and test
run: |
npm ci
npm test
npm run test-ci
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm test
- run: npm ci
- run: npm run test-ci

publish-npm:
needs: build
Expand All @@ -24,7 +24,7 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b343620

Please sign in to comment.