diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e54b966..a893138 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: - name: Install Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - name: Install NPM dependencies run: npm ci --ignore-scripts diff --git a/action.yml b/action.yml index 3ad7589..90d44e8 100644 --- a/action.yml +++ b/action.yml @@ -18,5 +18,5 @@ inputs: description: 'Build target to detect build dependencies. If unspecified, will use "all", with will detect all dependencies used in all build targets (including tests and tools).' default: 'all' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' diff --git a/package.json b/package.json index 3f6e01a..4589ea2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "format-check": "prettier --check '**/*.ts'", "lint": "eslint --fix src/**/*.ts", "package": "ncc build --source-map --license licenses.txt", - "test": "jest", + "test": "jest --forceExit", "test:watch": "jest --watch src", "all": "npm run build && npm run format && npm run lint && npm run package && npm test" },