Skip to content

Commit

Permalink
ci: rename build workflow to ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed Nov 6, 2023
1 parent 94ee8eb commit 6a67287
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 79 deletions.
66 changes: 0 additions & 66 deletions .github/workflows/build.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
lint:
uses: vidavidorra/.github/.github/workflows/node-lint.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
build:
uses: vidavidorra/.github/.github/workflows/node-build.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
strategy:
fail-fast: false
matrix:
nodeVersion: [18, 20, 21]
with:
nodeVersion: ${{ matrix.nodeVersion }}
test:
uses: vidavidorra/.github/.github/workflows/node-test.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
strategy:
fail-fast: false
matrix:
nodeVersion: [18, 20, 21]
with:
nodeVersion: ${{ matrix.nodeVersion }}
code-coverage:
uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
needs:
- lint
- build
- test
secrets:
codecovToken: ${{ secrets.CODECOV_TOKEN }}
release:
uses: vidavidorra/.github/.github/workflows/release.yml@430b5f02ffe77661ce0fe69608df20e1eb478c95 # v4.1.1
needs:
- lint-commit-messages
- lint
- build
- test
- code-coverage
secrets:
privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }}
npmToken: ${{ secrets.NPM_PUBLISH_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/lint-commit-messages.yml

This file was deleted.

0 comments on commit 6a67287

Please sign in to comment.