Skip to content

Commit

Permalink
Upgrade packages (#2431)
Browse files Browse the repository at this point in the history
* Update all @sinonjs/ packages

$ npx npm-check-updates -u /@sinonjs/ && npm i
Upgrading /home/carlerik/code/sinon/package.json
[====================] 6/6 100%

 @sinonjs/samsam         ^6.0.2  →  ^6.1.0
 @sinonjs/eslint-config  ^4.0.2  →  ^4.0.4
 @sinonjs/referee        ^8.0.2  →  ^9.1.1

* Upgrade Mocha and Puppeteer

* Make ESM support test run without 'esm' module

* Upgrade lint-staged and some minor/patch versions

* Upgrade eslint-config to fix *.mjs issue

* Upgrade to fake-timers 9

* chore: ensure always using latest LTS release

* Fix rename issue
  • Loading branch information
fatso83 committed Jan 28, 2022
1 parent 2c68dbc commit cf3d6c0
Show file tree
Hide file tree
Showing 5 changed files with 3,631 additions and 7,503 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "lts/*"
- name: Cache modules
uses: actions/cache@v2
with:
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "lts/*"
- name: Cache modules
uses: actions/cache@v2
with:
Expand All @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "lts/*"
- name: Cache npm
uses: actions/cache@v2
with:
Expand All @@ -84,7 +84,7 @@ jobs:
npm run test-headless -- --chrome $SINON_CHROME_BIN --allow-chrome-as-root
npm run test-webworker -- --chrome $SINON_CHROME_BIN --allow-chrome-as-root
npm run test-esm-bundle
npm run check-esm-bundle-runs-in-browser
- name: Upload coverage report
run: bash <(curl -s https://codecov.io/bash) -F unit -s coverage/lcov.info

Expand All @@ -95,7 +95,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "lts/*"
- name: Cache npm
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -24,6 +24,6 @@ services:
sh -c " $$SINON_CHROME_BIN --version
&& npm run test-headless -- --chrome $$SINON_CHROME_BIN --allow-chrome-as-root
&& npm run test-webworker -- --chrome $$SINON_CHROME_BIN --allow-chrome-as-root
&& npm run test-esm-bundle
&& npm run check-esm-bundle-runs-in-browser
&& npm run test-node
"

0 comments on commit cf3d6c0

Please sign in to comment.