Skip to content

Commit

Permalink
Upgrade part of the stack
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Feb 26, 2024
1 parent 3132032 commit 7aa5fd9
Show file tree
Hide file tree
Showing 7 changed files with 5,145 additions and 4,554 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/eleventy_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ on:

jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
run: echo "NODE_VERSION=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
id: nvm

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: '${{ steps.nvm.outputs.NODE_VERSION }}'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install

- name: Build
run: yarn build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_STORE
node_modules/
dist/
.yarn/cache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12.15.0
v20.11.1
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,19 @@
},
"homepage": "https://github.com/clementprdhomme/personal-website#readme",
"engines": {
"node": ">= 12.15.0"
"node": "20.11.1"
},
"devDependencies": {
"@11ty/eleventy": "^0.10.0",
"cssnano": "^4.1.10",
"@11ty/eleventy": "^2.0.1",
"cssnano": "^6.0.5",
"date-fns": "^2.11.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"html-minifier": "^4.0.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^7.1.0",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
"prettier": "^2.0.1"
}
}
Loading

0 comments on commit 7aa5fd9

Please sign in to comment.