diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a93b99..6985bbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: 'npm' - run: npm ci - run: npm run build diff --git a/action.yml b/action.yml index 3f021d9..5ea8020 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ inputs: description: 'A token for the repository' default: ${{ github.token }} runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: icon: 'user-plus' diff --git a/package.json b/package.json index 15e1f26..1133524 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,9 @@ "bugs": { "url": "https://github.com/toshimaru/auto-author-assign/issues" }, + "engines": { + "node": ">=20" + }, "homepage": "https://github.com/toshimaru/auto-author-assign#readme", "funding": "https://github.com/sponsors/toshimaru", "dependencies": {