Skip to content

Commit

Permalink
Fix working-directory placement in lint GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Oct 20, 2024
1 parent 433adbd commit f7bcf32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-frontend-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-frontend-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
node-version: '22.x'
cache: 'npm'
cache-dependency-path: hugo

- run: npm ci --loglevel warn
working-directory: hugo
Expand Down
2 changes: 1 addition & 1 deletion hugo/.size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = [
},
{
path: 'static/build/vendor.js',
limit: '100 KB',
limit: '128 KB',
},
{
path: 'static/build/app.css',
Expand Down

0 comments on commit f7bcf32

Please sign in to comment.