From f7bcf3264af57d5d2e48f9f9049284dee829cf94 Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Sun, 20 Oct 2024 23:23:19 +0100 Subject: [PATCH] Fix working-directory placement in lint GitHub Action --- .github/workflows/ci-frontend-check.yml | 2 +- .github/workflows/ci-frontend-lint.yml | 1 + hugo/.size-limit.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-frontend-check.yml b/.github/workflows/ci-frontend-check.yml index 619a62d5..dac650fb 100644 --- a/.github/workflows/ci-frontend-check.yml +++ b/.github/workflows/ci-frontend-check.yml @@ -22,10 +22,10 @@ jobs: # but with the setup, we can see that failure clearly - name: Set up Node.js uses: actions/setup-node@v4 - working-directory: hugo with: node-version: '22.x' cache: 'npm' + cache-dependency-path: hugo - name: Install dependencies run: npm install diff --git a/.github/workflows/ci-frontend-lint.yml b/.github/workflows/ci-frontend-lint.yml index 69903d3e..63626311 100644 --- a/.github/workflows/ci-frontend-lint.yml +++ b/.github/workflows/ci-frontend-lint.yml @@ -24,6 +24,7 @@ jobs: with: node-version: '22.x' cache: 'npm' + cache-dependency-path: hugo - run: npm ci --loglevel warn working-directory: hugo diff --git a/hugo/.size-limit.js b/hugo/.size-limit.js index f273f587..75112f8f 100644 --- a/hugo/.size-limit.js +++ b/hugo/.size-limit.js @@ -9,7 +9,7 @@ module.exports = [ }, { path: 'static/build/vendor.js', - limit: '100 KB', + limit: '128 KB', }, { path: 'static/build/app.css',