-
Notifications
You must be signed in to change notification settings - Fork 25
41 lines (35 loc) · 1.03 KB
/
release-dev.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
name: "Release Dev"
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
setup:
uses: ./.github/workflows/reusable_setup.yml
secrets:
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
lint-test:
needs: 'setup'
uses: ./.github/workflows/reusable_lint-packages.yml
secrets:
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
build-packages:
needs: 'setup'
uses: ./.github/workflows/reusable_build-packages.yml
secrets:
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
unit-tests:
needs: 'setup'
uses: ./.github/workflows/reusable_unit-tests.yml
secrets:
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
release-npm-dev:
needs: ['build-packages', 'lint-test', 'unit-tests']
uses: ./.github/workflows/reusable_release-npm.yml
with:
create-dev-release: true
create-rc-release: false
secrets:
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}