Skip to content

Commit

Permalink
Chore: Upgrade Node to v22, update deps (#242)
Browse files Browse the repository at this point in the history
Co-authored-by: Kaelig Deloumeau-Prigent <kaelig@users.noreply.github.com>
  • Loading branch information
drwpow and kaelig authored Aug 29, 2024
1 parent 11fd1c3 commit 729cbd8
Show file tree
Hide file tree
Showing 10 changed files with 1,905 additions and 5,303 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ env:
jobs:
lint:
name: Check linting issues
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v2
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v3
with: { node-version: 16, cache: npm }
- uses: actions/setup-node@v4
with:
cache: npm
- run: npm ci
- run: npm run lint
4 changes: 2 additions & 2 deletions .github/workflows/technical-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
main:
name: Build and deploy technical reports
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
Expand All @@ -20,7 +20,7 @@ jobs:
- source: technical-reports/color/index.html
destination: color/index.html
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: w3c/spec-prod@v2
with:
TOOLCHAIN: respec
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.8.0
v22
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# For previews, we publish an unbuilt version of the website
[build]
publish = "technical-reports/"
command = "npm run build"
command = "npx puppeteer browsers install chrome && npm run build"
[build.processing]
skip_processing = false
[build.processing.css]
Expand Down
Loading

0 comments on commit 729cbd8

Please sign in to comment.