-
Notifications
You must be signed in to change notification settings - Fork 10
50 lines (37 loc) · 1.41 KB
/
releaseWorkflow.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
48
49
name: Create Tagged Release
on:
release:
types: [published]
push:
branches:
- main
##
# Re-usable workflows can be found at https://github.com/modusbox/github-actions-node
##
jobs:
test_lint:
uses: modusbox/github-actions-node/.github/workflows/[email protected]
test_dependencies:
uses: modusbox/github-actions-node/.github/workflows/[email protected]
test_audit:
uses: modusbox/github-actions-node/.github/workflows/[email protected]
test_license:
uses: modusbox/github-actions-node/.github/workflows/[email protected]
# TODO: Enable when there are unit tests
# test_unit:
# uses: modusbox/github-actions-node/.github/workflows/[email protected]
# TODO: Enable when there is coveragte for unit tests
# test_coverage:
# uses: modusbox/github-actions-node/.github/workflows/[email protected]
test_int:
uses: modusbox/github-actions-node/.github/workflows/[email protected]
test_func:
uses: ./.github/workflows/testFuncJob.yml
publish_image:
uses: modusbox/github-actions-node/.github/workflows/[email protected]
with:
RELEASE_VERSION: v${{ github.event.release.tag_name }}
RELEASE_URL: ${{ github.server_url }}/${{ github.repository }}/releases/tag/v${{ github.event.release.tag_name }}
secrets:
USER: ${{ github.actor }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}