Skip to content

Commit

Permalink
Merge pull request #263 from transcend-io/dmattia/bump_versions
Browse files Browse the repository at this point in the history
Use newer browser versions in tests
  • Loading branch information
dmattia authored Dec 6, 2023
2 parents bc24a7f + 0511634 commit d8e2202
Show file tree
Hide file tree
Showing 7 changed files with 1,699 additions and 995 deletions.
3 changes: 2 additions & 1 deletion .depcheckrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ignores: ["core-js", "@yarnpkg/pnpify", "@yarnpkg/sdks", "babel-loader", "depcheck", "karma-browserstack-launcher", "karma-chrome-launcher", "karma-firefox-launcher", "karma-safari-launcher", "karma-coverage", "karma-sourcemap-loader", "karma-tap", "karma-webpack", "nyc", "prettier", "webpack-cli", "worker-plugin", "buffer", "process"]
ignores: ["core-js", "@yarnpkg/pnpify", "@yarnpkg/sdks", "babel-loader", "@babel/core", "@babel/plugin-proposal-class-properties", "@babel/preset-env", "@babel/preset-typescript", "depcheck", "karma-browserstack-launcher", "karma-chrome-launcher", "karma-firefox-launcher", "karma-safari-launcher", "karma-coverage", "karma-sourcemap-loader", "karma-tap", "karma-webpack", "nyc", "prettier", "webpack-cli", "worker-plugin", "buffer", "process"]
skip-missing: true
2 changes: 1 addition & 1 deletion .github/commands/dependencies/install_yarn_deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
# Install Yarn v2 dependencies
- uses: actions/setup-node@v2
with:
node-version: '14.17.3'
node-version: '20.9.0'
- run: npm install -g "[email protected]"
shell: bash
- uses: actions/cache@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
timeout-minutes: 10
timeout-minutes: 8
steps:
- uses: actions/checkout@v2
- uses: ./.github/commands/dependencies/install_yarn_deps
- run: yarn test:browserstack
- run: yarn karma start karma.browserstack.js

run-depcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/commands/dependencies/install_yarn_deps
- run: yarn pnpify depcheck
- run: yarn depcheck

run-pre-commits:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17.3
20.9.0
19 changes: 14 additions & 5 deletions karma.browserstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,22 @@ module.exports = (config) => {
bs_chrome_mac: {
base: 'BrowserStack',
browser: 'Chrome',
browser_version: '104.0',
browser_version: '118.0',
os: 'OS X',
os_version: 'Big Sur',
os_version: 'Sonoma',
local: 'false',
networkLogs: 'true',
seleniumVersion: '4.15.0',
},
bs_safari_mac: {
base: 'BrowserStack',
browser: 'Safari',
browser_version: '15.6',
browser_version: '17.0',
os: 'OS X',
os_version: 'Monterey',
os_version: 'Sonoma',
local: 'false',
networkLogs: 'true',
seleniumVersion: '4.15.0',
},
// TODO: https://github.com/transcend-io/penumbra/issues/249
// bs_firefox_pc: {
Expand All @@ -33,9 +39,12 @@ module.exports = (config) => {
bs_edge_pc: {
base: 'BrowserStack',
browser: 'Edge',
browser_version: '108.0',
browser_version: '118.0',
os: 'Windows',
os_version: '11',
local: 'false',
networkLogs: 'true',
seleniumVersion: '4.15.0',
},
};

Expand Down
59 changes: 25 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,10 @@
"directories": {
"example": "example"
},
"resolutions": {
"follow-redirects": "1.14.8",
"ajv": "6.12.3",
"ansi-regex": "5.0.1",
"lodash": "4.17.21",
"glob-parent": "5.1.2",
"path-parse": "1.0.7",
"elliptic": "6.5.4"
},
"scripts": {
"prepare": "yarn build",
"####### Linting #######": "",
"lint": "yarn pnpify eslint src --ext .ts",
"lint": "yarn eslint src --ext .ts",
"####### Start #########": "",
"start:example": "yarn build:example && http-server example/build/ --port 8080 -o",
"start:demo": "yarn build:demo && http-server demo/build/ --port 8081 -o",
Expand Down Expand Up @@ -61,13 +52,13 @@
],
"homepage": "https://github.com/transcend-io/penumbra#readme",
"dependencies": {
"@transcend-io/conflux": "^3.2.2",
"@transcend-io/conflux": "^4.1.0",
"@transcend-io/remote-web-streams": "1.0.5",
"comlink": "^4.3.1",
"core-js": "^3.22.8",
"comlink": "^4.4.1",
"core-js": "^3.33.3",
"crypto-browserify": "^3.12.0",
"mime-types": "^2.1.35",
"promise.allsettled": "^1.0.5",
"promise.allsettled": "^1.0.7",
"streamsaver": "^2.0.6",
"typedarray-to-buffer": "^4.0.0",
"web-streams-node": "^0.4.0",
Expand All @@ -78,42 +69,42 @@
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@types/mime-types": "^2.1.1",
"@types/node": "^17.0.40",
"@types/tape": "^4.13.2",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"@yarnpkg/pnpify": "^3.1.3",
"@yarnpkg/sdks": "^2.6.2",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.9.0",
"@types/tape": "^4.13.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@yarnpkg/pnpify": "^3.1.7",
"@yarnpkg/sdks": "^2.7.2",
"babel-loader": "^8.2.5",
"buffer": "^6.0.3",
"depcheck": "^1.4.3",
"eslint": "^8.17.0",
"depcheck": "^1.4.7",
"eslint": "^8.55.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-jsdoc": "^46.9.0",
"git-rev-sync": "^3.0.2",
"http-server": "^14.1.1",
"karma": "^6.3.20",
"karma": "^6.4.2",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.2",
"karma-safari-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.8",
"karma-sourcemap-loader": "^0.4.0",
"karma-tap": "^4.2.0",
"karma-webpack": "^4.0.2",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"prettier": "^3.1.0",
"rimraf": "^3.0.2",
"tape": "^5.5.3",
"tape": "^5.7.2",
"terser-webpack-plugin": "^2.3.8",
"typescript": "^4.7.3",
"webpack": "^4.46.0",
"typescript": "^4.9.5",
"webpack": "^4.47.0",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.8.0",
"webpack-merge": "^5.10.0",
"worker-plugin": "^5.0.1"
},
"packageManager": "[email protected]"
Expand Down
Loading

1 comment on commit d8e2202

@vercel
Copy link

@vercel vercel bot commented on d8e2202 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.