Skip to content

Commit

Permalink
Update Dependencies.
Browse files Browse the repository at this point in the history
Improve compatibility with higher versions of nodejs.
  • Loading branch information
LanYunDev committed Dec 18, 2024
1 parent 3822c6c commit 286836d
Show file tree
Hide file tree
Showing 11 changed files with 1,910 additions and 2,183 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function(api) {
],
"plugins": [
"dynamic-import-node",
"@babel/plugin-syntax-import-assertions",
["@babel/plugin-proposal-import-attributes-to-assertions", { "deprecatedAssertSyntax": true }],
[
"babel-plugin-transform-builtin-extend", {
"globals": ["Error"]
Expand Down
Loading

0 comments on commit 286836d

Please sign in to comment.