Skip to content

Commit 7ff7a14

Browse files
committed
ci: rename build workflow to ci-cd
1 parent a522ed2 commit 7ff7a14

File tree

3 files changed

+50
-79
lines changed

3 files changed

+50
-79
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/ci-cd.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: CI/CD
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- beta
7+
- renovate/**
8+
pull_request: null
9+
jobs:
10+
lint-commit-messages:
11+
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@253ae1c7da064c079b5ab8f002983ebdea49ea89 # v4.1.2
12+
with:
13+
configFile: ./commitlint.config.cjs
14+
lint:
15+
uses: vidavidorra/.github/.github/workflows/node-lint.yml@253ae1c7da064c079b5ab8f002983ebdea49ea89 # v4.1.2
16+
build:
17+
uses: vidavidorra/.github/.github/workflows/node-build.yml@253ae1c7da064c079b5ab8f002983ebdea49ea89 # v4.1.2
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
nodeVersion: [16, 18, 20]
22+
with:
23+
nodeVersion: ${{ matrix.nodeVersion }}
24+
test:
25+
uses: vidavidorra/.github/.github/workflows/node-test.yml@253ae1c7da064c079b5ab8f002983ebdea49ea89 # v4.1.2
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
nodeVersion: [16, 18, 20]
30+
with:
31+
nodeVersion: ${{ matrix.nodeVersion }}
32+
code-coverage:
33+
uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@253ae1c7da064c079b5ab8f002983ebdea49ea89 # v4.1.2
34+
needs:
35+
- lint
36+
- build
37+
- test
38+
secrets:
39+
codecovToken: ${{ secrets.CODECOV_TOKEN }}
40+
release:
41+
uses: vidavidorra/.github/.github/workflows/release.yml@253ae1c7da064c079b5ab8f002983ebdea49ea89 # v4.1.2
42+
needs:
43+
- lint-commit-messages
44+
- lint
45+
- build
46+
- test
47+
- code-coverage
48+
secrets:
49+
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}
50+
npmToken: ${{ secrets.NPM_PUBLISH_TOKEN }}

.github/workflows/lint-commit-messages.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)