-
-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (50 loc) · 1.44 KB
/
ci-cd.yml
File metadata and controls
50 lines (50 loc) · 1.44 KB
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
45
46
47
48
49
50
name: CI/CD
on:
push:
branches:
- main
- beta
- renovate/**
pull_request: null
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
jobs:
lint-commit-messages:
uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@41058f43dd0fc20c599b8265e75f1865707409c1 # v8.1.10
lint:
uses: vidavidorra/.github/.github/workflows/node-lint.yml@41058f43dd0fc20c599b8265e75f1865707409c1 # v8.1.10
build:
uses: vidavidorra/.github/.github/workflows/node-build.yml@41058f43dd0fc20c599b8265e75f1865707409c1 # v8.1.10
strategy:
fail-fast: false
matrix:
nodeVersion: [20, 22, 24]
with:
nodeVersion: ${{ matrix.nodeVersion }}
test:
uses: vidavidorra/.github/.github/workflows/node-test.yml@41058f43dd0fc20c599b8265e75f1865707409c1 # v8.1.10
strategy:
fail-fast: false
matrix:
nodeVersion: [20, 22, 24]
with:
nodeVersion: ${{ matrix.nodeVersion }}
code-coverage:
uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@41058f43dd0fc20c599b8265e75f1865707409c1 # v8.1.10
needs:
- lint
- build
- test
release:
uses: vidavidorra/.github/.github/workflows/release.yml@41058f43dd0fc20c599b8265e75f1865707409c1 # v8.1.10
needs:
- lint-commit-messages
- lint
- build
- test
- code-coverage
secrets:
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}