-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1.18 KB
/
ci-cd.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
name: CI/CD
on:
push:
branches:
- main
- beta
- renovate/**
pull_request: null
jobs:
lint-commit-messages:
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@13dbe9801fbc35bd6f69c55a16cb479c9cb148a5 # v5.0.9
lint:
uses: vidavidorra/.github/.github/workflows/node-lint.yml@13dbe9801fbc35bd6f69c55a16cb479c9cb148a5 # v5.0.9
build:
uses: vidavidorra/.github/.github/workflows/node-build.yml@13dbe9801fbc35bd6f69c55a16cb479c9cb148a5 # v5.0.9
test:
uses: vidavidorra/.github/.github/workflows/node-test.yml@13dbe9801fbc35bd6f69c55a16cb479c9cb148a5 # v5.0.9
code-coverage:
uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@13dbe9801fbc35bd6f69c55a16cb479c9cb148a5 # v5.0.9
needs:
- lint
- build
- test
secrets:
codecovToken: ${{ secrets.CODECOV_TOKEN }}
release:
uses: vidavidorra/.github/.github/workflows/release.yml@13dbe9801fbc35bd6f69c55a16cb479c9cb148a5 # v5.0.9
needs:
- lint-commit-messages
- lint
- build
- test
- code-coverage
secrets:
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}
npmToken: ${{ secrets.NPM_PUBLISH_TOKEN }}