diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 663ac35..145956e 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -14,6 +14,18 @@ jobs: - uses: actions/checkout@v4 - name: install pnpm run: npm install -g pnpm + - name: Restore pnpm cache + uses: actions/cache/restore@v3 + with: + path: ~/.pnpm-store + key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} + - name: pnpm install + run: pnpm install + - name: Restore pnpm cache + uses: actions/cache/save@v3 + with: + path: ~/.pnpm-store + key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - name: dotnet restore run: dotnet restore - name: dotnet build