Skip to content

Commit

Permalink
ci: latest node versions and proper cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Dec 10, 2024
1 parent 2e6ce1a commit aedebe6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: latest
cache: npm

- name: Install dependencies
run: npm i
run: npm ci
- name: Build website
run: npm run build

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:

jobs:
build:
name: Build Docusaurus
name: Check highlighting with Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: latest

- name: Install dependencies
run: sudo npm install -g prettier
Expand Down
File renamed without changes.

0 comments on commit aedebe6

Please sign in to comment.