Skip to content

Commit 96589f8

Browse files
authored
Merge pull request #202 from yandex-cloud/update-nodejs-and-axios
Update nodejs and axios
2 parents abd9271 + 73f038e commit 96589f8

File tree

6 files changed

+19
-18
lines changed

6 files changed

+19
-18
lines changed

.github/workflows/pr-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
- beta
88
jobs:
99
tests:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@d6b5322d8dbc130126ec1fa00bc0f2d6cc2f53db
1313
- run: npm run test
1414
check-endpoints:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-24.04
1616
# Currently, the check-endpoints script fails on the master branch.
1717
# So we need to continue on error.
1818
continue-on-error: true
@@ -22,12 +22,12 @@ jobs:
2222
submodules: recursive
2323
- run: npm run check-endpoints
2424
lint:
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-24.04
2626
steps:
2727
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@d6b5322d8dbc130126ec1fa00bc0f2d6cc2f53db
2828
- run: npm run lint
2929
build:
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-24.04
3131
steps:
3232
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@d6b5322d8dbc130126ec1fa00bc0f2d6cc2f53db
3333
- run: npm run build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release:
1010
if: github.actor != 'yandex-cloud-bot'
1111
name: Release
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@d6b5322d8dbc130126ec1fa00bc0f2d6cc2f53db
1515
with:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.16.0
1+
22.15.0

config/jest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ export default {
1515
transform: {
1616
'^.+\\.[tj]s$': 'ts-jest',
1717
},
18+
transformIgnorePatterns: ['node_modules/(?!axios)'],
1819
};

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"dependencies": {
2525
"@grpc/grpc-js": "^1.6.12",
2626
"abort-controller-x": "^0.4.1",
27-
"axios": "^0.28.0",
27+
"axios": "^1.8.2",
2828
"jsonwebtoken": "^9.0.0",
2929
"lodash": "^4.17.21",
3030
"log4js": "^6.4.0",
@@ -75,7 +75,7 @@
7575
"prepublishOnly": "npm run build"
7676
},
7777
"engines": {
78-
"node": ">=12.0.0"
78+
"node": ">=22.15.0"
7979
},
8080
"publishConfig": {
8181
"access": "public"

0 commit comments

Comments
 (0)