Skip to content

Commit

Permalink
chore: update Node.js to v20, pnpm to v8.7.5; update deps (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Sep 12, 2023
1 parent 403907f commit b393f63
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 212 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: 7
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: ".nvmrc"
cache: pnpm
- run: pnpm i
- run: pnpm lint
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
version: 7
- uses: actions/setup-node@v3
with:
node-version: "16"
node-version-file: ".nvmrc"
- name: Set up action
run: |
echo "::group::Set up action"
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
{
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/core": "^1.10.1",
"finalhandler": "^1.2.0",
"node-fetch": "^2.6.7",
"puppeteer": "^19",
"node-fetch": "^2.7.0",
"puppeteer": "^21",
"serve-static": "^1.15.0",
"split2": "^4.1.0",
"split2": "^4.2.0",
"subresources": "^1.3.2"
},
"engines": {
"node": "^16"
"node": "^20"
},
"packageManager": "[email protected]",
"scripts": {
"build": "tsc -p tsconfig.prod.json",
"dev": "tsc -p tsconfig.json -w",
"lint": "prettier . --check"
},
"devDependencies": {
"@types/finalhandler": "^1.2.0",
"@types/node": "^18.11.13",
"@types/node-fetch": "^2.6.2",
"@types/serve-static": "^1.15.0",
"@types/split2": "^3.2.1",
"typescript": "^4.9.4"
"@types/node": "^20.6.0",
"@types/node-fetch": "^2.6.4",
"@types/serve-static": "^1.15.2",
"@types/split2": "^4.2.0",
"typescript": "^5.2.2"
},
"optionalDependencies": {
"prettier": "^2.8.1",
"yaml": "^2.1.3"
"prettier": "^3.0.3",
"yaml": "^2.3.2"
}
}
Loading

0 comments on commit b393f63

Please sign in to comment.