Skip to content

Commit d3da5f3

Browse files
committed
chore(build): activate the CI on push on main
1 parent 0bad799 commit d3da5f3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build, Test and Deploy
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- beta
88
pull_request:
99

@@ -60,7 +60,7 @@ jobs:
6060
name: Release package
6161
runs-on: ubuntu-latest
6262
needs: [test]
63-
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta')
63+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
6464
steps:
6565
- uses: actions/checkout@v2
6666
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Forest Admin in Nodejs (Express.js & Mongoose)
22

33
[![npm package](https://badge.fury.io/js/forest-express-mongoose.svg)](https://badge.fury.io/js/forest-express-mongoose)
4-
[![CI status](https://github.com/ForestAdmin/forest-express-mongoose/workflows/Build,%20Test%20and%20Deploy/badge.svg?branch=master)](https://github.com/ForestAdmin/forest-express-mongoose/actions)
4+
[![CI status](https://github.com/ForestAdmin/forest-express-mongoose/workflows/Build,%20Test%20and%20Deploy/badge.svg?branch=main)](https://github.com/ForestAdmin/forest-express-mongoose/actions)
55
[![Test Coverage](https://api.codeclimate.com/v1/badges/4881f8b0b3cb806cd472/test_coverage)](https://codeclimate.com/github/ForestAdmin/forest-express-mongoose/test_coverage)
66
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
77

commitlint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTICE: When a github "squash and merge" is performed, github add the PR link in the commit
22
// message using the format ` (#<PR_ID>)`. Github provide the target branch of the build,
3-
// so authorizing 4+5 = 9 characters more on master for the max header length should work
3+
// so authorizing 4+5 = 9 characters more on main for the max header length should work
44
// until we reach PR #99999.
55

66
let maxLineLength = 100;

0 commit comments

Comments
 (0)