diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 48b556e..922e755 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -18,10 +18,10 @@ jobs: with: fetch-depth: 0 - - name: Use Node.js 16.x + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x - run: npm install - run: npm run lint - run: npm test diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0637d14..ad70e43 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: npm install - run: npm test @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm install - run: npm publish --access public diff --git a/package.json b/package.json index 5120190..2e47076 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "switcher-client", - "version": "3.1.5", + "version": "3.1.6", "description": "Client JS SDK for working with Switcher-API", "main": "./src/index.js", "types": "./src/index.d.ts", @@ -30,16 +30,16 @@ "node-fetch": "^2.6.9" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^5.51.0", - "@typescript-eslint/parser": "^5.51.0", + "@typescript-eslint/eslint-plugin": "^5.58.0", + "@typescript-eslint/parser": "^5.58.0", "babel-eslint": "^10.1.0", "chai": "^4.3.7", "chai-as-promised": "^7.1.1", - "eslint": "^8.34.0", + "eslint": "^8.38.0", "mocha": "^10.2.0", "mocha-sonarqube-reporter": "^1.0.2", "nyc": "^15.1.0", - "sinon": "^15.0.1" + "sinon": "^15.0.3" }, "repository": { "type": "git", @@ -49,6 +49,6 @@ "access": "public" }, "engines": { - "node": ">=14.0.0 <=18.0.0" + "node": ">=14.0.0" } }