diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4fe3911..b6d1585 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,10 +1,10 @@ name: Bush - on: push: - jobs: build: runs-on: ubuntu-latest steps: - uses: linz/action-typescript@9bf69b0f313b3525d3ba3116f26b1aff7eb7a6c0 # v3 + with: + node-version: 20.x diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 6bd5f5b..1f282ba 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -2,7 +2,6 @@ on: push: branches: - master - name: release-please jobs: release-please: @@ -15,7 +14,6 @@ jobs: with: release-type: node token: ${{ secrets.GITHUB_TOKEN }} - publish-release: needs: release-please runs-on: ubuntu-latest @@ -25,7 +23,7 @@ jobs: uses: linz/action-typescript@9bf69b0f313b3525d3ba3116f26b1aff7eb7a6c0 # v3 with: registry-url: 'https://npm.pkg.github.com' - + node-version: 20.x - name: Publish to Github run: npm publish env: diff --git a/package-lock.json b/package-lock.json index fc538ad..74b7fcc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@types/node": "^20.12.11" }, "engines": { - "node": ">=16.0.0" + "node": "^20.13.1" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index d9c57d0..ec05ee7 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "type": "module", "engines": { - "node": ">=16.0.0" + "node": "^20.13.1" }, "files": [ "build/src/**"