Skip to content

Commit 6a67287

Browse files
committed
ci: rename build workflow to ci-cd
1 parent 94ee8eb commit 6a67287

File tree

3 files changed

+48
-79
lines changed

3 files changed

+48
-79
lines changed

.github/workflows/build.yml

-66
This file was deleted.

.github/workflows/ci-cd.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
12+
lint:
13+
uses: vidavidorra/.github/.github/workflows/node-lint.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
14+
build:
15+
uses: vidavidorra/.github/.github/workflows/node-build.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
nodeVersion: [18, 20, 21]
20+
with:
21+
nodeVersion: ${{ matrix.nodeVersion }}
22+
test:
23+
uses: vidavidorra/.github/.github/workflows/node-test.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
nodeVersion: [18, 20, 21]
28+
with:
29+
nodeVersion: ${{ matrix.nodeVersion }}
30+
code-coverage:
31+
uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
32+
needs:
33+
- lint
34+
- build
35+
- test
36+
secrets:
37+
codecovToken: ${{ secrets.CODECOV_TOKEN }}
38+
release:
39+
uses: vidavidorra/.github/.github/workflows/release.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
40+
needs:
41+
- lint-commit-messages
42+
- lint
43+
- build
44+
- test
45+
- code-coverage
46+
secrets:
47+
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}
48+
npmToken: ${{ secrets.NPM_PUBLISH_TOKEN }}

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

-13
This file was deleted.

0 commit comments

Comments
 (0)