From 5e109d009b24b4227d87476990e7c6d3a7cfda42 Mon Sep 17 00:00:00 2001 From: Ryo Okubo Date: Mon, 6 Jan 2025 17:25:52 +0900 Subject: [PATCH] Update GitHub Actions workflow to use Node.js 20.x, enable npm caching, and specify npm registry URL --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0007659..cea3022 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'npm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci