diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ce10d5e..2afcc50 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,6 +43,8 @@ jobs: run: | npm install npm run build + env: + NODE_ENV: production - name: Create debug build if: ${{ !inputs.release }} run: | diff --git a/package-lock.json b/package-lock.json index 1380adf..40d0df8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "github-pr-tasklist-checker", - "version": "1.0.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "github-pr-tasklist-checker", - "version": "1.0.0", + "version": "1.2.0", "license": "MIT", "dependencies": { "@actions/core": "^1.10.0", @@ -14,6 +14,9 @@ }, "devDependencies": { "@vercel/ncc": "^0.36.1" + }, + "engines": { + "node": "20.x" } }, "node_modules/@actions/core": { diff --git a/package.json b/package.json index ef3da06..2f05fbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-pr-tasklist-checker", - "version": "1.0.0", + "version": "1.2.0", "description": "An Action to check if the PR tasklist is complete.", "main": "src/index.js", "scripts": {