diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec5f9de..97be58f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c5f669..01606ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 18 cache: 'yarn' - run: git config user.email "-" && git config user.name "🤖 Release Bot" - run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc diff --git a/package.json b/package.json index 9b8f4ba..1cd0bf6 100644 --- a/package.json +++ b/package.json @@ -33,5 +33,8 @@ "*.{js,json,md,yml}": [ "prettier --write --ignore-unknown" ] + }, + "engines": { + "node": ">=16" } }