Skip to content

Commit

Permalink
feat(client): Upgrade to Node 20, Webpack 5, Blueprint 5
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Dec 27, 2023
1 parent ebde3c0 commit 5f95822
Show file tree
Hide file tree
Showing 51 changed files with 6,447 additions and 8,823 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on:
push:
branches:
- '*'
- "*"
pull_request:
branches:
- master
Expand All @@ -29,9 +29,9 @@ jobs:
if: steps.changed-files.outputs.gradle == '1'
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
cache: 'gradle'
distribution: zulu
java-version: "11"
cache: gradle

- name: Test judgels-commons
if: steps.changed-files.outputs.judgels-commons == '1'
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
if: steps.changed-files.outputs.yarn == '1'
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "20"

- name: Get yarn cache directory path
if: steps.changed-files.outputs.yarn == '1'
Expand Down Expand Up @@ -111,15 +111,15 @@ jobs:
if: steps.changed-files.outputs.gradle == '1'
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
cache: 'gradle'
distribution: zulu
java-version: "11"
cache: gradle

- name: Set up node
if: steps.changed-files.outputs.yarn == '1'
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "20"

- name: Get yarn cache directory path
if: steps.changed-files.outputs.yarn == '1'
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
if: steps.changed-files.outputs.web == '1'
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "20"

- name: Build web
if: steps.changed-files.outputs.web == '1'
Expand Down
1 change: 1 addition & 0 deletions judgels-client/config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ module.exports = {
testsSetup: resolveModule(resolveApp, 'src/setupTests'),
proxySetup: resolveApp('src/setupProxy.js'),
appNodeModules: resolveApp('node_modules'),
appWebpackCache: resolveApp('node_modules/.cache'),
swSrc: resolveModule(resolveApp, 'src/service-worker'),
publicUrlOrPath,
};
Expand Down
Loading

0 comments on commit 5f95822

Please sign in to comment.