diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8abd3cd..f8bfa21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,13 +18,13 @@ jobs: type: ${{ steps.npm-publish.outputs.type }} version: ${{ steps.npm-publish.outputs.version }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" - run: npm ci - run: npm run build - - uses: JS-DevTools/npm-publish@v2 + - uses: JS-DevTools/npm-publish@v3 id: npm-publish with: token: ${{ secrets.NPM_TOKEN }} @@ -37,7 +37,7 @@ jobs: version: ${{ steps.tag_version.outputs.new_tag }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Bump version and push tag id: tag_version uses: mathieudutour/github-tag-action@v6.1 @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Release uses: softprops/action-gh-release@v1 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a2aab2b..7ffc0e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: "npm" cache-dependency-path: "package-lock.json" - name: Install dependencies diff --git a/package-lock.json b/package-lock.json index 9e46ab2..afdfda5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ic-websocket-js", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ic-websocket-js", - "version": "0.3.2", + "version": "0.3.3", "license": "MIT", "dependencies": { "loglevel": "^1.8.1" @@ -36,7 +36,7 @@ "util": "0.12.4" }, "engines": { - "node": "^14 || ^16 || ^18" + "node": "^14 || ^16 || >=17" }, "peerDependencies": { "@dfinity/agent": "^0.20.1", @@ -6747,9 +6747,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", + "version": "1.0.30001579", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz", + "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index dad52f7..92d3c12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ic-websocket-js", - "version": "0.3.2", + "version": "0.3.3", "description": "IC WebSocket on the Internet Computer", "license": "MIT", "repository": { @@ -48,7 +48,7 @@ "util": "0.12.4" }, "engines": { - "node": "^14 || ^16 || ^18" + "node": "^14 || ^16 || >=17" }, "browserslist": [ "last 2 chrome version",