Compare commits

..
5 Commits
Author SHA1 Message Date
Zoltan KochanandGitHub db5fa07a05 Update action.yml 2023-10-03 12:26:20 +03:00
Zoltan KochanandGitHub 9465dd2cc7 Update action.yml 2023-10-03 12:21:10 +03:00
Zoltan Kochan 36a2fc2631 fix: update node.js to v20
close #99
2023-10-01 17:37:05 +03:00
Steven YungandGitHub d2613e087f docs: update pnpm version in caching example (#94) 2023-09-27 19:17:23 +03:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d928be8e0c Bump actions/checkout from 3 to 4 (#96)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 19:17:06 +03:00
5 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -22,7 +22,7 @@ jobs:
- windows-latest - windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run the action - name: Run the action
uses: ./ uses: ./
@@ -51,7 +51,7 @@ jobs:
- windows-latest - windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run the action - name: Run the action
uses: ./ uses: ./
@@ -83,7 +83,7 @@ jobs:
- false - false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run the action - name: Run the action
uses: ./ uses: ./
@@ -162,7 +162,7 @@ jobs:
- pnpm - pnpm
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run the action - name: Run the action
uses: ./ uses: ./
+1 -1
View File
@@ -123,7 +123,7 @@ jobs:
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
name: Install pnpm name: Install pnpm
with: with:
version: 7 version: 8
run_install: false run_install: false
- name: Get pnpm store directory - name: Get pnpm store directory
+1 -1
View File
@@ -24,6 +24,6 @@ inputs:
required: false required: false
default: 'false' default: 'false'
runs: runs:
using: node16 using: node20
main: dist/index.js main: dist/index.js
post: dist/index.js post: dist/index.js
+6 -6
View File
@@ -13750,7 +13750,7 @@ var require_defaults = __commonJS({
"user-agent": "npm/{npm-version} node/{node-version} {platform} {arch}", "user-agent": "npm/{npm-version} node/{node-version} {platform} {arch}",
"read-only": false, "read-only": false,
"rebuild-bundle": true, "rebuild-bundle": true,
registry: "https://registry.npmmirror.com/", registry: "https://registry.npmjs.org/",
rollback: true, rollback: true,
save: true, save: true,
"save-bundle": false, "save-bundle": false,
@@ -14564,7 +14564,7 @@ var require_lib10 = __commonJS({
]); ]);
pnpmConfig.userAgent = pnpmConfig.rawLocalConfig["user-agent"] ? pnpmConfig.rawLocalConfig["user-agent"] : `${packageManager.name}/${packageManager.version} npm/? node/${process.version} ${process.platform} ${process.arch}`; pnpmConfig.userAgent = pnpmConfig.rawLocalConfig["user-agent"] ? pnpmConfig.rawLocalConfig["user-agent"] : `${packageManager.name}/${packageManager.version} npm/? node/${process.version} ${process.platform} ${process.arch}`;
pnpmConfig.rawConfig = Object.assign.apply(Object, [ pnpmConfig.rawConfig = Object.assign.apply(Object, [
{ registry: "https://registry.npmmirror.com/" }, { registry: "https://registry.npmjs.org/" },
...[...npmConfig.list].reverse(), ...[...npmConfig.list].reverse(),
cliOptions, cliOptions,
{ "user-agent": pnpmConfig.userAgent } { "user-agent": pnpmConfig.userAgent }
@@ -83470,7 +83470,7 @@ var require_node4 = __commonJS({
let wantedNodeVersion = (_a = opts.useNodeVersion) !== null && _a !== void 0 ? _a : (_b = await readNodeVersionsManifest(nodesDir)) === null || _b === void 0 ? void 0 : _b.default; let wantedNodeVersion = (_a = opts.useNodeVersion) !== null && _a !== void 0 ? _a : (_b = await readNodeVersionsManifest(nodesDir)) === null || _b === void 0 ? void 0 : _b.default;
await fs_1.default.promises.mkdir(nodesDir, { recursive: true }); await fs_1.default.promises.mkdir(nodesDir, { recursive: true });
if (wantedNodeVersion == null) { if (wantedNodeVersion == null) {
const response = await fetch_1.default("https://registry.npmmirror.com/node"); const response = await fetch_1.default("https://registry.npmjs.org/node");
wantedNodeVersion = (await response.json())["dist-tags"].lts; wantedNodeVersion = (await response.json())["dist-tags"].lts;
if (wantedNodeVersion == null) { if (wantedNodeVersion == null) {
throw new Error("Could not resolve LTS version of Node.js"); throw new Error("Could not resolve LTS version of Node.js");
@@ -85556,7 +85556,7 @@ var require_lib51 = __commonJS({
Object.defineProperty(exports2, "__esModule", { value: true }); Object.defineProperty(exports2, "__esModule", { value: true });
var normalizeRegistry = require_normalize_registry_url(); var normalizeRegistry = require_normalize_registry_url();
function default_1(pkgName, pkgVersion, opts) { function default_1(pkgName, pkgVersion, opts) {
const registry = normalizeRegistry(opts && opts.registry || "https://registry.npmmirror.com/"); const registry = normalizeRegistry(opts && opts.registry || "https://registry.npmjs.org/");
const scopelessName = getScopelessName(pkgName); const scopelessName = getScopelessName(pkgName);
return `${registry}${pkgName}/-/${scopelessName}-${removeBuildMetadataFromVersion(pkgVersion)}.tgz`; return `${registry}${pkgName}/-/${scopelessName}-${removeBuildMetadataFromVersion(pkgVersion)}.tgz`;
} }
@@ -90109,7 +90109,7 @@ var require_lib65 = __commonJS({
exports2.DEFAULT_REGISTRIES = void 0; exports2.DEFAULT_REGISTRIES = void 0;
var normalize_registry_url_1 = __importDefault(require_normalize_registry_url()); var normalize_registry_url_1 = __importDefault(require_normalize_registry_url());
exports2.DEFAULT_REGISTRIES = { exports2.DEFAULT_REGISTRIES = {
default: "https://registry.npmmirror.com/" default: "https://registry.npmjs.org/"
}; };
function normalizeRegistries(registries) { function normalizeRegistries(registries) {
if (registries == null) if (registries == null)
@@ -130910,7 +130910,7 @@ var require_storeAdd = __commonJS({
let hasFailures = false; let hasFailures = false;
const prefix = (_a = opts.prefix) !== null && _a !== void 0 ? _a : process.cwd(); const prefix = (_a = opts.prefix) !== null && _a !== void 0 ? _a : process.cwd();
const registries = (_b = opts.registries) !== null && _b !== void 0 ? _b : { const registries = (_b = opts.registries) !== null && _b !== void 0 ? _b : {
default: "https://registry.npmmirror.com/" default: "https://registry.npmjs.org/"
}; };
await Promise.all(deps.map(async (dep) => { await Promise.all(deps.map(async (dep) => {
var _a2; var _a2;
+6 -6
View File
@@ -13750,7 +13750,7 @@ var require_defaults = __commonJS({
"user-agent": "npm/{npm-version} node/{node-version} {platform} {arch}", "user-agent": "npm/{npm-version} node/{node-version} {platform} {arch}",
"read-only": false, "read-only": false,
"rebuild-bundle": true, "rebuild-bundle": true,
registry: "https://registry.npmmirror.com/", registry: "https://registry.npmjs.org/",
rollback: true, rollback: true,
save: true, save: true,
"save-bundle": false, "save-bundle": false,
@@ -14564,7 +14564,7 @@ var require_lib10 = __commonJS({
]); ]);
pnpmConfig.userAgent = pnpmConfig.rawLocalConfig["user-agent"] ? pnpmConfig.rawLocalConfig["user-agent"] : `${packageManager.name}/${packageManager.version} npm/? node/${process.version} ${process.platform} ${process.arch}`; pnpmConfig.userAgent = pnpmConfig.rawLocalConfig["user-agent"] ? pnpmConfig.rawLocalConfig["user-agent"] : `${packageManager.name}/${packageManager.version} npm/? node/${process.version} ${process.platform} ${process.arch}`;
pnpmConfig.rawConfig = Object.assign.apply(Object, [ pnpmConfig.rawConfig = Object.assign.apply(Object, [
{ registry: "https://registry.npmmirror.com/" }, { registry: "https://registry.npmjs.org/" },
...[...npmConfig.list].reverse(), ...[...npmConfig.list].reverse(),
cliOptions, cliOptions,
{ "user-agent": pnpmConfig.userAgent } { "user-agent": pnpmConfig.userAgent }
@@ -83470,7 +83470,7 @@ var require_node4 = __commonJS({
let wantedNodeVersion = (_a = opts.useNodeVersion) !== null && _a !== void 0 ? _a : (_b = await readNodeVersionsManifest(nodesDir)) === null || _b === void 0 ? void 0 : _b.default; let wantedNodeVersion = (_a = opts.useNodeVersion) !== null && _a !== void 0 ? _a : (_b = await readNodeVersionsManifest(nodesDir)) === null || _b === void 0 ? void 0 : _b.default;
await fs_1.default.promises.mkdir(nodesDir, { recursive: true }); await fs_1.default.promises.mkdir(nodesDir, { recursive: true });
if (wantedNodeVersion == null) { if (wantedNodeVersion == null) {
const response = await fetch_1.default("https://registry.npmmirror.com/node"); const response = await fetch_1.default("https://registry.npmjs.org/node");
wantedNodeVersion = (await response.json())["dist-tags"].lts; wantedNodeVersion = (await response.json())["dist-tags"].lts;
if (wantedNodeVersion == null) { if (wantedNodeVersion == null) {
throw new Error("Could not resolve LTS version of Node.js"); throw new Error("Could not resolve LTS version of Node.js");
@@ -85556,7 +85556,7 @@ var require_lib51 = __commonJS({
Object.defineProperty(exports2, "__esModule", { value: true }); Object.defineProperty(exports2, "__esModule", { value: true });
var normalizeRegistry = require_normalize_registry_url(); var normalizeRegistry = require_normalize_registry_url();
function default_1(pkgName, pkgVersion, opts) { function default_1(pkgName, pkgVersion, opts) {
const registry = normalizeRegistry(opts && opts.registry || "https://registry.npmmirror.com/"); const registry = normalizeRegistry(opts && opts.registry || "https://registry.npmjs.org/");
const scopelessName = getScopelessName(pkgName); const scopelessName = getScopelessName(pkgName);
return `${registry}${pkgName}/-/${scopelessName}-${removeBuildMetadataFromVersion(pkgVersion)}.tgz`; return `${registry}${pkgName}/-/${scopelessName}-${removeBuildMetadataFromVersion(pkgVersion)}.tgz`;
} }
@@ -90109,7 +90109,7 @@ var require_lib65 = __commonJS({
exports2.DEFAULT_REGISTRIES = void 0; exports2.DEFAULT_REGISTRIES = void 0;
var normalize_registry_url_1 = __importDefault(require_normalize_registry_url()); var normalize_registry_url_1 = __importDefault(require_normalize_registry_url());
exports2.DEFAULT_REGISTRIES = { exports2.DEFAULT_REGISTRIES = {
default: "https://registry.npmmirror.com/" default: "https://registry.npmjs.org/"
}; };
function normalizeRegistries(registries) { function normalizeRegistries(registries) {
if (registries == null) if (registries == null)
@@ -130910,7 +130910,7 @@ var require_storeAdd = __commonJS({
let hasFailures = false; let hasFailures = false;
const prefix = (_a = opts.prefix) !== null && _a !== void 0 ? _a : process.cwd(); const prefix = (_a = opts.prefix) !== null && _a !== void 0 ? _a : process.cwd();
const registries = (_b = opts.registries) !== null && _b !== void 0 ? _b : { const registries = (_b = opts.registries) !== null && _b !== void 0 ? _b : {
default: "https://registry.npmmirror.com/" default: "https://registry.npmjs.org/"
}; };
await Promise.all(deps.map(async (dep) => { await Promise.all(deps.map(async (dep) => {
var _a2; var _a2;