Update Dependencies.

Improve compatibility with higher versions of nodejs.
This commit is contained in:
LanYunDev 2024-12-18 23:32:01 +08:00
parent 3822c6c520
commit 286836d183
No known key found for this signature in database
GPG key ID: 2261FDD45717933F
11 changed files with 1914 additions and 2187 deletions

View file

@ -4,18 +4,18 @@ on:
workflow_dispatch:
push:
branches:
- master
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set node version
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'
- name: Install
run: |
@ -49,7 +49,7 @@ jobs:
- name: Deploy to GitHub Pages
if: success() && github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v3
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: ./build/prod