Skip to content

Commit 7123889

Browse files
committed
Revert "CI: Fix vite build paths and migrate to npm ci (#63)"
This reverts commit 1b87e08.
1 parent 1b87e08 commit 7123889

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,32 @@ jobs:
1212
- name: Get sources
1313
uses: actions/checkout@v3
1414

15-
- name: Use Node.js 20
16-
uses: actions/setup-node@v4
15+
- name: Use Node.js
16+
uses: actions/setup-node@v3
1717
with:
18-
node-version: '20.19.0'
18+
node-version: '20'
1919

2020
- name: Restore npm cache
2121
uses: actions/cache@v3
2222
with:
2323
path: ./node_modules
2424
key: ${{ runner.os }}-node-modules
2525

26-
- name: Install dependencies (npm ci)
27-
run: npm ci --no-audit --no-fund
26+
- name: Run npm install
27+
run: npm install --no-audit --no-fund
2828

2929
- name: Install Internal Package
3030
uses: DevExpress/github-actions/install-internal-package@main
3131

3232
- name: Build
3333
run: |
34-
rm -rf dist
34+
npm pkg set homepage='https://devexpress.github.io/devextreme-react-template'
3535
npm run build
3636
3737
- name: Deploy
3838
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6
3939
with:
4040
branch: gh-pages
41-
folder: dist
42-
clean: true
41+
folder: build
4342
target-folder: .
4443

vite.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
33

4-
4+
// https://vite.dev/config/
55
export default defineConfig({
6-
base: '/devextreme-react-template/',
76
plugins: [react()],
87
})

0 commit comments

Comments
 (0)