Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 7dbd9a0

Browse files
authored
Merge pull request #3 from agile-ts/master
x
2 parents 76592e5 + b978e12 commit 7dbd9a0

File tree

12 files changed

+85
-8
lines changed

12 files changed

+85
-8
lines changed

.github/workflows/create-release-pr.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create new Version
3737
- name: 🗽 New Version
38-
run: lerna version --conventional-commits --no-git-tag-version --yes
38+
run: yarn run new-version
3939

4040
# Adds the above created version to the output so that we can get it later in the pull request with 'steps.changelog.outputs.version'
4141
- name: 🖋 Set new Version to Output
@@ -44,10 +44,11 @@ jobs:
4444
run: |
4545
version=$(node -p 'require("./lerna.json").version')
4646
echo "::set-output name=version::${version}"
47+
4748
# Create the Pull Request
4849
- name: 📤 Create Pull Request
4950
id: create-pull-request
50-
uses: peter-evans/create-pull-request@v3 # https://github.com/peter-evans/create-pull-request
51+
uses: peter-evans/create-pull-request@v3
5152
with:
5253
token: ${{ secrets.GITHUB_TOKEN }}
5354
path: ${{ secrets.GITHUB_PATH }}
@@ -57,10 +58,13 @@ jobs:
5758
title: "v${{ steps.changelog.outputs.version }}"
5859
body: |
5960
## v${{ steps.changelog.outputs.version }}
61+
6062
### Breaking Changes
6163
- [ ] TODO
64+
6265
### Features
6366
- [ ] TODO
67+
6468
### Bug Fixes
6569
- [ ] TODO
6670
labels: "release"

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
publish:
1313
name: Publish
14-
runs-on: ubuntu-18.04
14+
runs-on: ubuntu-latest
1515
steps:
1616

1717
# Checkout Project
@@ -42,6 +42,7 @@ jobs:
4242
run: |
4343
CURRENT_VERSION=$(node -p 'require("./lerna.json").version')
4444
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
45+
4546
# Check if Tag with the CURRENT_VERSION already exists
4647
- name: Tag Check
4748
id: tag-check

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 0.0.2 (2020-12-10)
7+
8+
**Note:** Version bump only for package github-actions-test
9+
10+
11+
12+
13+
14+
## 0.0.1 (2020-12-10)
15+
16+
**Note:** Version bump only for package github-actions-test

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// http://orlandobayo.com/blog/monorepo-testing-using-jest/
2+
13
const baseConfig = require("./jest.config.base.js");
24

35
module.exports = {

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"packages/*"
44
],
55
"useWorkspaces": true,
6-
"version": "0.0.0"
6+
"version": "0.0.2"
77
}

packages/mono-one/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Change Log
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- 3d5d4bb: test
8+
9+
All notable changes to this project will be documented in this file.
10+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
11+
12+
## 0.0.2 (2020-12-10)
13+
14+
**Note:** Version bump only for package @bennodev/mono-one
15+
16+
## 0.0.1 (2020-12-10)
17+
18+
**Note:** Version bump only for package @bennodev/mono-one

packages/mono-one/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bennodev/mono-one",
3-
"version": "0.0.0",
3+
"version": "1.0.0",
44
"author": "BennoDev",
55
"license": "ISC",
66
"homepage": "https://agile-ts.org/",

packages/mono-one/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export default class MonoOne {
1111
}
1212

1313
public getRandomString():string {
14-
return "random2";
14+
return "random3";
1515
}
1616
}

packages/mono-three/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Change Log
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- 3d5d4bb: test
8+
9+
All notable changes to this project will be documented in this file.
10+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
11+
12+
## 0.0.2 (2020-12-10)
13+
14+
**Note:** Version bump only for package @bennodev/mono-three
15+
16+
## 0.0.1 (2020-12-10)
17+
18+
**Note:** Version bump only for package @bennodev/mono-three

packages/mono-three/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bennodev/mono-three",
3-
"version": "0.0.0",
3+
"version": "1.0.0",
44
"author": "BennoDev",
55
"license": "ISC",
66
"homepage": "https://agile-ts.org/",

0 commit comments

Comments
 (0)