From 0f00ac8b13f0abb84f156d17dd50db872d3b8c02 Mon Sep 17 00:00:00 2001 From: kawamataryo Date: Tue, 22 Aug 2023 21:14:28 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20fix=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aae727f..989aa67 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,11 +15,20 @@ jobs: node-version: '18' check-latest: true + - name: Cache npm dependencies + uses: actions/cache@v3 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Install dependencies run: npm ci - name: Check if release is required run: ls .changeset/*.md > /dev/null 2>&1 || exit 1 + continue-on-error: true - name: If there is no need to release if: ${{ failure() }}