-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump versions / Fix tests in nodejs 18.16.0
In nodejs 18.16.0 become impossible to do a trick `Object.create(new URL(...))`, so rewrote all mocks implementations to classes. Nodejs behaviour was changed in this PR - nodejs/node#46866
- Loading branch information
Showing
11 changed files
with
648 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
name: Publish | ||
|
||
steps: | ||
- name: 🛎️ Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: 📦 Use PNPM | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7.29.3 | ||
|
||
- name: 🐧 Use Node 18.16.0 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.16.0 | ||
cache: pnpm | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: 🔍 Installation | ||
run: pnpm install --frozen-lockfile --ignore-scripts | ||
|
||
- name: 👮♂️ Linting | ||
run: pnpm lint | ||
|
||
- name: 🧪 Testing | ||
run: pnpm test | ||
|
||
- name: 🔧 Build | ||
run: pnpm build | ||
|
||
- name: 🔬 Check size | ||
run: pnpm size | ||
|
||
- name: 📦 Publish | ||
run: pnpm publish --access public | ||
working-directory: dist | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
nodejs 18.15.0 | ||
nodejs 18.16.0 | ||
pnpm 7.29.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,14 +50,14 @@ | |
"@babel/preset-typescript": "^7.21.4", | ||
"@react-native-async-storage/async-storage": "^1.18.1", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@size-limit/preset-small-lib": "^8.2.4", | ||
"@typescript-eslint/eslint-plugin": "^5.57.0", | ||
"@typescript-eslint/parser": "^5.57.0", | ||
"@typescript-eslint/eslint-plugin": "^5.59.0", | ||
"@typescript-eslint/parser": "^5.59.0", | ||
"effector": "22.0.0", | ||
"effector-22-0-0": "npm:[email protected]", | ||
"effector-22-7-0": "npm:effector@22.7.0", | ||
"eslint": "^8.37.0", | ||
"effector-22-8-1": "npm:effector@22.8.1", | ||
"eslint": "^8.39.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
|
@@ -71,7 +71,7 @@ | |
"prettier": "^2.8.7", | ||
"react-native-encrypted-storage": "^4.0.3", | ||
"rewiremock": "^3.14.5", | ||
"rollup": "^3.20.2", | ||
"rollup": "^3.20.7", | ||
"rollup-plugin-command": "^1.1.3", | ||
"rollup-plugin-dts": "^5.3.0", | ||
"rollup-plugin-generate-package-json": "^3.2.0", | ||
|
@@ -81,7 +81,7 @@ | |
"ts-node": "^10.9.1", | ||
"tsd": "^0.28.1", | ||
"tslib": "^2.5.0", | ||
"typescript": "^5.0.3", | ||
"typescript": "^5.0.4", | ||
"uvu": "0.5.6", | ||
"yaspeller": "^8.0.1" | ||
}, | ||
|
Oops, something went wrong.