Skip to content

Commit 04c3741

Browse files
authored
Merge pull request #5 from angular-extensions/feature/build_setup
chore: 🤖 configure travis stages and add commitlint
2 parents 4b415bd + 77fcd5d commit 04c3741

File tree

4 files changed

+1008
-0
lines changed

4 files changed

+1008
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
dist: trusty
2+
sudo: required
3+
language: node_js
4+
node_js:
5+
- "12"
6+
7+
os:
8+
- linux
9+
10+
jobs:
11+
include:
12+
- stage: install
13+
script: npm install
14+
skip_cleanup: true
15+
- stage: test
16+
script: npm run test
17+
skip_cleanup: true
18+
- stage: Build & publish
19+
script:
20+
- npm run build
21+
# - TODO - first we need to setup Travis - npx semantic-release
22+
if: branch = master

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ["@commitlint/config-conventional"] };

0 commit comments

Comments
 (0)