From b6a9fd071a4c07c65eba761ac4fbc86a4e6040a4 Mon Sep 17 00:00:00 2001 From: "Tomoya Matsuura(MacBookPro)" Date: Sun, 4 Feb 2024 23:56:14 +0900 Subject: [PATCH] gitea ci --- .gitea/workflows/ci.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index caf58abd..ee712f81 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,19 +11,11 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-node@v3 - - uses: actions/go-hashfiles@v0.0.1 - id: get-hash - with: - patterns: |- - **/package-lock.json - - name: Cache dependencies - uses: actions/cache@v3 + - uses: https://github.com/actions/setup-node@v4 with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ steps.get-hash.outputs.hash }} - restore-keys: | - ${{ runner.os }}-node- + version: 'latest' + cache: 'npm' + cache-dependency-path: 'package-lock.json' - run: npm i - run: npx quartz build - name: Upload artifact