diff --git a/.github/scripts/count-reward.deno.lock b/.github/scripts/count-reward.deno.lock new file mode 100644 index 0000000..092380e --- /dev/null +++ b/.github/scripts/count-reward.deno.lock @@ -0,0 +1,42 @@ +{ + "version": "5", + "specifiers": { + "npm:web-utility@4.6.6": "4.6.6_element-internals-polyfill@3.0.2_typescript@6.0.3", + "npm:zx@8.8.5": "8.8.5" + }, + "npm": { + "@swc/helpers@0.5.23": { + "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==", + "dependencies": [ + "tslib" + ] + }, + "element-internals-polyfill@3.0.2": { + "integrity": "sha512-uB0/Qube3lkwh8SmkTnGIyUgJ9YdqVSzIoHMRCEQjAbD4Y5UzsVbch1tIxjTgUe5k3gy1U0ZMKMJ90A81lqwig==" + }, + "regenerator-runtime@0.14.1": { + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, + "tslib@2.8.1": { + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + }, + "typescript@6.0.3": { + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "bin": true + }, + "web-utility@4.6.6_element-internals-polyfill@3.0.2_typescript@6.0.3": { + "integrity": "sha512-ia1yi7NC6wF3ScTW9U2nu4VAjuKHbpXuluh3x8b0LSMiM49V5MexA+asaidmURMZ3gTTRD+ymw5+W4MWSaazqg==", + "dependencies": [ + "@swc/helpers", + "element-internals-polyfill", + "regenerator-runtime", + "typescript" + ], + "deprecated": true + }, + "zx@8.8.5": { + "integrity": "sha512-SNgDF5L0gfN7FwVOdEFguY3orU5AkfFZm9B5YSHog/UDHv+lvmd82ZAsOenOkQixigwH2+yyH198AwNdKhj+RA==", + "bin": true + } + } +} diff --git a/.github/scripts/count-reward.ts b/.github/scripts/count-reward.ts index b6cf948..cd4fd4c 100644 --- a/.github/scripts/count-reward.ts +++ b/.github/scripts/count-reward.ts @@ -1,5 +1,5 @@ -import { changeMonth, formatDate, makeDateRange } from "npm:web-utility"; -import { $, YAML } from "npm:zx"; +import { changeMonth, formatDate, makeDateRange } from "npm:web-utility@4.6.6/source/date"; +import { $, YAML } from "npm:zx@8.8.5"; import { Reward } from "./type.ts"; diff --git a/.github/workflows/statistic-member-reward.yml b/.github/workflows/statistic-member-reward.yml index 09e5b88..51a3fcf 100644 --- a/.github/workflows/statistic-member-reward.yml +++ b/.github/workflows/statistic-member-reward.yml @@ -40,4 +40,4 @@ jobs: if: env.NEW_COMMITS == 'true' env: GH_TOKEN: ${{ github.token }} - run: deno --allow-run --allow-sys --allow-env --allow-read --allow-net=api.github.com .github/scripts/count-reward.ts + run: deno run --frozen --lock=.github/scripts/count-reward.deno.lock --no-config --allow-run=git,gh --allow-sys --allow-env --allow-read --allow-net=api.github.com .github/scripts/count-reward.ts