Skip to content

Commit

Permalink
ci: Cleanup ci to add entry file
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 2, 2024
1 parent 64f29a2 commit 685fffa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI/CD Status
run-name: Full CI/CD Pipeline

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
trigger-full-ci:
name: CI
uses: ./.github/workflows/lint-and-build.yml
with:
node-version: "22.4.1"
15 changes: 8 additions & 7 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Lint & Build
run-name: Full CI/CD Pipeline
run-name: Lint & Build

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
workflow_call:
inputs:
node-version:
description: "Node.js version to use"
required: true
type: string

jobs:
lint:
name: Lint
name: Run Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit 685fffa

Please sign in to comment.