Skip to content

Commit fc066fb

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

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
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 grunt-cli@0.1.13
29+
npm i
30+
npm i
31+
npm run build:app
32+
- name: Tests
33+
run: |
34+
npm run test:app -- --browsers=ChromeHeadless
35+
npm run e2e -- --browsers=ChromeHeadless
36+

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"jshint-stylish": "~1.0.0",
5252
"karma": "0.12.32",
5353
"karma-browserstack-launcher": "0.1.2",
54-
"karma-chrome-launcher": "0.1.5",
54+
"karma-chrome-launcher": "2.2.0",
5555
"karma-firefox-launcher": "0.1.3",
5656
"karma-jasmine": "0.1.5",
5757
"karma-junit-reporter": "0.2.2",

protractor-conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config.specs = [
99
];
1010

1111
config.capabilities = {
12-
browserName: 'chrome',
12+
browserName: 'chrome'
1313
};
1414

1515
exports.config = config;

0 commit comments

Comments
 (0)