diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86619a679..96155a61e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version-file: .tool-versions + node-version-file: .node-version - name: ๐Ÿ“ฆ Install Dependencies run: yarn install --immutable --immutable-cache - name: ๐Ÿงช Run Tests @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version-file: .tool-versions + node-version-file: .node-version - name: ๐Ÿ“ฆ Install Dependencies run: yarn install --immutable --immutable-cache - name: ๐Ÿ’จ ESLint @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version-file: .tool-versions + node-version-file: .node-version - name: ๐Ÿ“ฆ Install Dependencies run: yarn install --immutable --immutable-cache - name: โœ… TypeScript lint @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version-file: .tool-versions + node-version-file: .node-version - name: ๐Ÿ“ฆ Install Dependencies run: yarn install --immutable --immutable-cache - name: ๐Ÿ’… Prettier Check @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version-file: .tool-versions + node-version-file: .node-version - name: ๐Ÿ“ฆ Install Dependencies run: yarn install --immutable --immutable-cache --check-cache deploy: @@ -82,7 +82,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 with: - node-version-file: .tool-versions + node-version-file: .node-version - name: ๐Ÿ“ฆ Install Dependencies run: yarn install --immutable --immutable-cache - name: ๐Ÿ”จ Build diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..17719ce25 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +18.20.4 diff --git a/.tool-versions b/.tool-versions index c261b0d35..ba2b59c16 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1 @@ -nodejs 18.20.4 yarn 1.22.17 diff --git a/webpack.config.js b/webpack.config.js index 4c26ea188..e59983b77 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -96,14 +96,12 @@ module.exports = (env = {}) => { filename: 'browserUnsupported.html', excludeAssets: /.*\.js/, // Only import CSS minify: htmlMinDefaults, - chunks: ['manifest'], }), new HtmlWebpackPlugin({ template: 'app/maintenanceMode.ejs', filename: 'maintenanceMode.html', excludeAssets: /.*\.js/, // Only import CSS minify: htmlMinDefaults, - chunks: ['manifest'], }), new HtmlWebpackSkipAssetsPlugin(), new FaviconsWebpackPlugin('./app/img/favicon.png'),