Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
Birdie0 committed Jun 15, 2024
1 parent a623284 commit d7e8d37
Showing 3 changed files with 328 additions and 264 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -9,22 +9,22 @@ on:
jobs:
build:
name: Generate docs
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8.x
version: 9.x

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'pnpm'
node-version: 22.x
cache: pnpm

- name: Install dependencies
run: |-
@@ -51,7 +51,7 @@ jobs:
./scripts/minify.sh
- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"csso-cli": "^4.0.2",
"highlight.js": "github:highlightjs/highlight.js#10-stable",
"html-minifier": "^4.0.0",
"svgo": "^3.0.2",
"terser": "^5.22.0"
"svgo": "^3.3.2",
"terser": "^5.31.1"
}
}
574 changes: 319 additions & 255 deletions pnpm-lock.yaml

0 comments on commit d7e8d37

Please sign in to comment.