Skip to content

Commit

Permalink
👷 ci: bump nodejs to 20 (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Aug 27, 2023
1 parent ee10caf commit b2fbf3c
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"scripts": {
"dev": "vuepress dev src",
"build": "vuepress build src",
"serve": "vuepress build src && pnpm dlx serve src/.vuepress/dist",
"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress dev src",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress build src",
"serve": "cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress build src && pnpm dlx serve src/.vuepress/dist",
"img:upload": "bash scripts/upload-img.sh",
"fmt": "case-police . --fix && prettier --write .",
"fmt:check": "case-police . && prettier --check ."
Expand All @@ -26,6 +26,7 @@
},
"devDependencies": {
"case-police": "^0.6.0",
"cross-env": "^7.0.3",
"prettier": "^3.0.0"
},
"pnpm": {
Expand Down
46 changes: 45 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2fbf3c

Please sign in to comment.