Skip to content

Commit

Permalink
chore: project maintenance (#41)
Browse files Browse the repository at this point in the history
- upgrade all dependencies to latest except for @mdi/js
- add volta setup to package.json
- update github actions to use actions/checkout v4
- change ubuntu-latest to ubuntu-22.04 to avoid unexpected breaking changes
- run pnpm postbuild to refresh sitemap-0.xml
  • Loading branch information
mcmxcdev committed Oct 22, 2023
1 parent 1ee4cad commit 42a9270
Show file tree
Hide file tree
Showing 5 changed files with 625 additions and 690 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ on:

jobs:
check-next-website:
runs-on: ubuntu-latest

runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v3
Expand Down
26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"node": "20.8.0",
"pnpm": "8.8.0"
},
"volta": {
"node": "20.8.0",
"pnpm": "8.8.0"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand All @@ -17,20 +21,20 @@
},
"dependencies": {
"@mdi/js": "6.6.96",
"@mdi/react": "1.6.0",
"@octokit/rest": "19.0.3",
"next": "13.5.2",
"@mdi/react": "1.6.1",
"@octokit/rest": "20.0.2",
"next": "13.5.6",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "17.0.27",
"@types/react": "18.0.6",
"@types/react-dom": "18.0.2",
"eslint": "8.14.0",
"eslint-config-next": "13.5.2",
"next-sitemap": "2.5.20",
"sass": "1.50.1",
"typescript": "4.6.3"
"@types/node": "20.8.7",
"@types/react": "18.2.31",
"@types/react-dom": "18.2.14",
"eslint": "8.52.0",
"eslint-config-next": "13.5.6",
"next-sitemap": "4.2.3",
"sass": "1.69.4",
"typescript": "5.2.2"
}
}
Loading

0 comments on commit 42a9270

Please sign in to comment.