Skip to content

Commit d6ec723

Browse files
committed
chore(Build): add github action to build pull request
1 parent b879223 commit d6ec723

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/build_1_3_x.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build 1.3.x
2+
3+
on:
4+
push:
5+
branches:
6+
- release-1.3.*
7+
- v1.3.*
8+
pull_request:
9+
branches:
10+
- release-1.3.*
11+
- v1.3.*
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-22.04
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Build Setup
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: '16'
25+
cache: 'npm'
26+
- name: Build
27+
run: |
28+
npm install -g [email protected]
29+
npm i
30+
npm i
31+
npm run build:app
32+
- name: Tests
33+
run: |
34+
npm run test:app -- --watch=false --browsers=ChromeHeadless
35+
npm run e2e -- --watch=false --browsers=ChromeHeadless
36+

0 commit comments

Comments
 (0)