Skip to content

Commit

Permalink
feat: upgrade nodeJS support to v22
Browse files Browse the repository at this point in the history
BREAKING CHANGE: NodeJS v22 is now required
  • Loading branch information
SimeonC committed Nov 28, 2024
1 parent c596be7 commit f9d0c1d
Show file tree
Hide file tree
Showing 16 changed files with 177 additions and 122 deletions.
5 changes: 0 additions & 5 deletions .github/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ runs:
- name: Set shas
uses: nrwl/nx-set-shas@v3

- name: Unset header
shell: bash
# checkout@v2 adds a header that makes branch protection report errors ):
run: git config --local --unset http.https://github.com/.extraheader

- name: Set git author config
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
token: ${{ secrets.RELEASE_BOT_TOKEN }}

- uses: ./.github/setup

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry=https://registry.npmjs.org/
legacy-peer-deps=true
save-exact=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.8.1
v22.11.0
10 changes: 7 additions & 3 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@
"docs": {
"dependsOn": ["build"],
"inputs": ["default", "^default", "baseTypescript"],
"outputs": ["{projectRoot}/docs"]
"outputs": ["{projectRoot}/docs"],
"cache": true
},
"test": {
"dependsOn": ["^test"],
"inputs": ["default", "^default", "testConfig"]
"inputs": ["default", "^default", "testConfig"],
"cache": true
},
"quality": {
"cache": true
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
Expand All @@ -24,7 +29,6 @@
"baseTypescript": ["{workspaceRoot}/tsconfig.base.json"],
"testConfig": ["{projectRoot}/vite.config.ts"]
},
"nxCloudAccessToken": "MDFhZDUwZTMtZDMyMy00Y2YwLWEwY2QtMDQ3ZjJiZGYzMDE3fHJlYWQtd3JpdGU=",
"useInferencePlugins": false,
"defaultBase": "main"
}
Loading

0 comments on commit f9d0c1d

Please sign in to comment.