generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (45 loc) · 1.52 KB
/
test.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
name: 'build-test'
on:
pull_request:
push:
branches:
- main
- develop
- 'releases/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: yarn install --frozen-lockfile
- run: yarn run all
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Test run (REMOVE_TITLE_LINE: false)'
uses: ./
id: run1
with:
GITHUB_AUTH: '${{ secrets.GITHUB_TOKEN }}'
label_settings_file_path: './.github/lerna-changelog.json'
tag_from: '4b825dc642cb6eb9a060e54bf8d69288fbee4904'
tag_to: 'origin/main'
remove_title_line: 'false'
- run: echo "${{steps.run1.outputs.markdown}}"
- name: 'Test run (REMOVE_TITLE_LINE: true)'
uses: ./
id: run2
with:
GITHUB_AUTH: '${{ secrets.GITHUB_TOKEN }}'
label_settings_file_path: './.github/lerna-changelog.json'
tag_from: '4b825dc642cb6eb9a060e54bf8d69288fbee4904'
tag_to: 'origin/main'
remove_title_line: 'true'
- run: echo "${{steps.run2.outputs.markdown}}"