mirror of
https://github.com/mandiant/capa.git
synced 2025-12-05 20:40:05 -08:00
add DEVELOPMENT.md
This commit is contained in:
12
.github/workflows/deploy-webui.yml
vendored
12
.github/workflows/deploy-webui.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user