We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc783e commit d12e43fCopy full SHA for d12e43f
.github/workflows/dashboard_main.yml renamed to .github/workflows/dashboard.yml
@@ -1,8 +1,11 @@
1
-name: Dashboard (main)
+name: Dashboard
2
on:
3
push:
4
branches: [main]
5
paths: [dashboard/**, proto/**]
6
+ pull_request:
7
+ branches: [main]
8
+ paths: [dashboard/**, proto/**]
9
workflow_dispatch:
10
jobs:
11
dashboard-ui-deploy:
@@ -19,11 +22,14 @@ jobs:
19
22
- name: build
20
23
working-directory: ./dashboard
21
24
run: |
25
+ echo "::group::npm install"
26
npm install
27
+ echo "::endgroup::"
28
npm run lint
29
npm run build
30
- name: Deploy
31
uses: s0/git-publish-subdir-action@develop
32
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
33
env:
34
REPO: self
35
BRANCH: dashboard-artifact
.github/workflows/dashboard_pr.yml
0 commit comments