Skip to content

Commit 902ab4a

Browse files
dependabot[bot]github-actions[bot]caarlos0
authored
chore(deps): bump the npm group across 1 directory with 4 updates (#536)
* chore(deps): bump the npm group across 1 directory with 4 updates Bumps the npm group with 3 updates in the / directory: [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core), [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) and [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache). Updates `@actions/core` from 2.0.2 to 3.0.0 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Updates `@actions/exec` from 2.0.0 to 3.0.0 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/exec) Updates `@actions/http-client` from 3.0.1 to 3.0.2 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client) Updates `@actions/tool-cache` from 3.0.0 to 4.0.0 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/@actions/cache@4.0.0/packages/tool-cache) --- updated-dependencies: - dependency-name: "@actions/core" dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm - dependency-name: "@actions/exec" dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm - dependency-name: "@actions/http-client" dependency-version: 3.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@actions/tool-cache" dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update dist and vendor * chore: rm provenance Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * test: use esm in jest Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * ci: fix npm run test Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent c59a691 commit 902ab4a

File tree

5 files changed

+76
-86
lines changed

5 files changed

+76
-86
lines changed

dist/index.js

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/licenses.txt

Lines changed: 0 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jest.config.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
1-
module.exports = {
1+
import type {Config} from 'jest';
2+
3+
const config: Config = {
24
clearMocks: true,
35
moduleFileExtensions: ['js', 'ts'],
46
setupFiles: ['dotenv/config', '<rootDir>/src/test_setup.ts'],
57
testMatch: ['**/*.test.ts'],
68
testTimeout: 30000,
79
transform: {
8-
'^.+\\.ts$': 'ts-jest'
10+
'^.+\\.ts$': [
11+
'ts-jest',
12+
{
13+
useESM: true
14+
}
15+
]
16+
},
17+
extensionsToTreatAsEsm: ['.ts'],
18+
moduleNameMapper: {
19+
'^(\\.{1,2}/.*)\\.js$': '$1'
920
},
1021
verbose: true
1122
};
23+
24+
export default config;

package-lock.json

Lines changed: 49 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"eslint:fix": "eslint --fix .",
1212
"prettier": "prettier --check \"./**/*.ts\"",
1313
"prettier:fix": "prettier --write \"./**/*.ts\"",
14-
"test": "jest",
14+
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
1515
"all": "npm run build && npm run format && npm test"
1616
},
1717
"repository": {
@@ -27,10 +27,10 @@
2727
"license": "MIT",
2828

2929
"dependencies": {
30-
"@actions/core": "^2.0.2",
31-
"@actions/exec": "^2.0.0",
30+
"@actions/core": "^3.0.0",
31+
"@actions/exec": "^3.0.0",
3232
"@actions/http-client": "^3.0.1",
33-
"@actions/tool-cache": "^3.0.0",
33+
"@actions/tool-cache": "^4.0.0",
3434
"js-yaml": "^4.1.1",
3535
"semver": "^7.7.3",
3636
"yargs": "^18.0.0"

0 commit comments

Comments
 (0)