-
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1.01 KB
/
on_push.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
# This is workflow runs on push
#
name: Release
# Controls when the action will run.
on:
# Trigger workflow for pull requests.
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
cancel-runs:
name: '▶️ actions'
uses: ./.github/workflows/cancel-workflow.yml
lint-code:
name: '▶️ actions'
needs: [cancel-runs]
uses: ./.github/workflows/lint-code.yml
codeql:
name: '▶️ actions'
needs: [lint-code]
uses: ./.github/workflows/codeql.yml
build:
name: '▶️ actions'
needs: [lint-code]
uses: ./.github/workflows/npm-build.yml
test:
name: '▶️ actions'
needs: [lint-code]
uses: ./.github/workflows/npm-test.yml
release:
name: '▶️ actions'
needs: [lint-code, codeql, build, test]
uses: ./.github/workflows/semantic-release.yml
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Token with repo write permission & admin rights to push to protected branches