-
Notifications
You must be signed in to change notification settings - Fork 8
47 lines (45 loc) · 1.3 KB
/
backplane-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: backplane release
on:
push:
branches:
- main
- alpha
- beta
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
working-directory: ./src/Finos.Fdc3.Backplane
- name: Build
run: dotnet build --no-restore
working-directory: ./src/Finos.Fdc3.Backplane
- name: Test
run: dotnet test --no-build --verbosity normal
working-directory: ./src/Finos.Fdc3.Backplane
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Package install
run: npm ci
working-directory: ./src/Finos.Fdc3.Backplane
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_TOKEN }}
GIT_AUTHOR_NAME: manish-nwm
GIT_AUTHOR_EMAIL: manish.bhutani@natwestmarkets.com
GIT_COMMITTER_NAME: manish-nwm
GIT_COMMITTER_EMAIL: manish.bhutani@natwestmarkets.com
run: npx semantic-release
working-directory: ./src/Finos.Fdc3.Backplane