add DEVELOPMENT.md

This commit is contained in:
Soufiane Fariss
2024-08-05 15:47:03 +02:00
parent f856ea7454
commit 283aa27152
3 changed files with 122 additions and 7 deletions

View File

@@ -37,25 +37,25 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: './webui/package-lock.json'
cache-dependency-path: './web/explorer/package-lock.json'
- name: Install dependencies
run: npm ci
working-directory: ./webui
working-directory: ./web/explorer
- name: Lint
run: npm run lint
working-directory: ./webui
working-directory: ./web/explorer
- name: Run unit tests
run: npm run test
working-directory: ./webui
working-directory: ./web/explorer
- name: Build
run: npm run build
working-directory: ./webui
working-directory: ./web/explorer
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './webui/dist'
path: './web/explorer/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4