Skip to content

Commit a2d1e92

Browse files
committed
chore: update release/CI config
1 parent cc1d962 commit a2d1e92

File tree

5 files changed

+401
-23
lines changed

5 files changed

+401
-23
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
- name: Checkout
99
uses: actions/checkout@v2
1010
- name: Setup
11-
uses: actions/setup-node@v1
11+
uses: actions/setup-node@v2
1212
with:
13-
node-version: '14.x'
13+
node-version: '14'
1414
- uses: actions/cache@v1
1515
id: yarn-cache
1616
with:
@@ -32,7 +32,7 @@ jobs:
3232
DATABASE_NAME: postgres
3333
services:
3434
postgres:
35-
image: postgres:12
35+
image: postgres:13
3636
env:
3737
POSTGRES_USER: postgres
3838
POSTGRES_PASSWORD: postgres
@@ -44,9 +44,9 @@ jobs:
4444
- name: Checkout
4545
uses: actions/checkout@v2
4646
- name: Setup
47-
uses: actions/setup-node@v1
47+
uses: actions/setup-node@v2
4848
with:
49-
node-version: '14.x'
49+
node-version: '14'
5050
- uses: actions/cache@v1
5151
id: yarn-cache
5252
with:
@@ -70,9 +70,9 @@ jobs:
7070
- name: Checkout
7171
uses: actions/checkout@v2
7272
- name: Setup
73-
uses: actions/setup-node@v1
73+
uses: actions/setup-node@v2
7474
with:
75-
node-version: '14.x'
75+
node-version: '14'
7676
- uses: actions/cache@v1
7777
id: yarn-cache
7878
with:
@@ -89,4 +89,5 @@ jobs:
8989
env:
9090
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
9191
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
SLACK_WEBHOOK: ${{ secrets.ADMIN_SLACK_WEBHOOK }}
9293
run: yarn release

.releaserc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
22
"branches": [
3-
"+([0-9])?(.{+([0-9]),x}).x",
4-
"master",
5-
"next",
6-
"next-major"
3+
"master"
74
],
85
"plugins": [
96
"@semantic-release/commit-analyzer",
107
"@semantic-release/release-notes-generator",
118
"@semantic-release/npm",
129
"@semantic-release/github",
13-
"@semantic-release/git"
10+
"@semantic-release/git",
11+
[
12+
"semantic-release-slack-bot",
13+
{
14+
"notifyOnSuccess": true,
15+
"notifyOnFail": false
16+
}
17+
]
1418
]
1519
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ An example project can be found in `example-app` directory.
5454

5555
## Associations
5656

57-
Currently only `ManyToOne` and `OneToOne` relationships are supported due to current AdminBro's core limitations
57+
Currently only `ManyToOne` and `OneToOne` relationships are supported due to current AdminJS's core limitations
5858
for adapter integrations. `OneToMany` and `ManyToMany` relationships can still be achieved through a combination of custom components and hooks.
5959

6060
## Contribution

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"jest": "^26.6.3",
6363
"reflect-metadata": "^0.1.13",
6464
"semantic-release": "^17.4.2",
65+
"semantic-release-slack-bot": "^2.1.1",
6566
"ts-jest": "^26.5.4",
6667
"ts-node": "^9.1.1",
6768
"tsconfig-paths": "^3.9.0",

0 commit comments

Comments
 (0)