Skip to content

Commit fae49ec

Browse files
chore: workflows
1 parent dec1bef commit fae49ec

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.github/workflows/firebase-hosting-merge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build_and_deploy:
1212
runs-on: ubuntu-latest
1313

14+
timeout-minutes: 5
15+
1416
env:
1517
VITE_CORS_PROXY_SERVER_URL: '${{ vars.VITE_CORS_PROXY_SERVER_URL }}'
1618

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint PR title
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
lint-pr-title:
12+
name: Lint PR title
13+
runs-on: ubuntu-latest
14+
timeout-minutes: 1
15+
16+
steps:
17+
- uses: amannn/action-semantic-pull-request@v6
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
types: |
22+
chore
23+
feat
24+
fix

.github/workflows/qa.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: QA
2+
3+
on: pull_request
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
qa:
11+
runs-on: ubuntu-latest
12+
13+
timeout-minutes: 5
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: npm ci && npm run build

0 commit comments

Comments
 (0)