Skip to content

Commit cf3d6c0

Browse files
authored
Upgrade packages (#2431)
* 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
1 parent 2c68dbc commit cf3d6c0

File tree

5 files changed

+3631
-7503
lines changed

5 files changed

+3631
-7503
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v2
1717
with:
18-
node-version: "16"
18+
node-version: "lts/*"
1919
- name: Cache modules
2020
uses: actions/cache@v2
2121
with:
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v2
4040
- uses: actions/setup-node@v2
4141
with:
42-
node-version: "16"
42+
node-version: "lts/*"
4343
- name: Cache modules
4444
uses: actions/cache@v2
4545
with:
@@ -62,7 +62,7 @@ jobs:
6262
- uses: actions/checkout@v2
6363
- uses: actions/setup-node@v2
6464
with:
65-
node-version: "16"
65+
node-version: "lts/*"
6666
- name: Cache npm
6767
uses: actions/cache@v2
6868
with:
@@ -84,7 +84,7 @@ jobs:
8484
8585
npm run test-headless -- --chrome $SINON_CHROME_BIN --allow-chrome-as-root
8686
npm run test-webworker -- --chrome $SINON_CHROME_BIN --allow-chrome-as-root
87-
npm run test-esm-bundle
87+
npm run check-esm-bundle-runs-in-browser
8888
- name: Upload coverage report
8989
run: bash <(curl -s https://codecov.io/bash) -F unit -s coverage/lcov.info
9090

@@ -95,7 +95,7 @@ jobs:
9595
- uses: actions/checkout@v2
9696
- uses: actions/setup-node@v2
9797
with:
98-
node-version: "16"
98+
node-version: "lts/*"
9999
- name: Cache npm
100100
uses: actions/cache@v2
101101
with:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ services:
2424
sh -c " $$SINON_CHROME_BIN --version
2525
&& npm run test-headless -- --chrome $$SINON_CHROME_BIN --allow-chrome-as-root
2626
&& npm run test-webworker -- --chrome $$SINON_CHROME_BIN --allow-chrome-as-root
27-
&& npm run test-esm-bundle
27+
&& npm run check-esm-bundle-runs-in-browser
2828
&& npm run test-node
2929
"

0 commit comments

Comments
 (0)