From dffad3dcd2b4ada46da354041847ad6a538cb0cf Mon Sep 17 00:00:00 2001 From: Ryuzo Yamamoto Date: Tue, 25 Feb 2025 15:18:44 +0900 Subject: [PATCH] ci: fix "Publish npm package function-types" workflow --- .github/workflows/publish-function-types.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-function-types.yaml b/.github/workflows/publish-function-types.yaml index c5994f2..122c5e3 100644 --- a/.github/workflows/publish-function-types.yaml +++ b/.github/workflows/publish-function-types.yaml @@ -18,12 +18,11 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 with: - node-version-file: packages/types/package.json + node-version: '22' registry-url: https://registry.npmjs.org - - name: Update npm and corepack + - name: Update corepack run: | - npm i -g npm npm i -g corepack@latest - name: Publish