From 375297826dc32acb1c12240dd79470b9b7018904 Mon Sep 17 00:00:00 2001 From: Abhishek SAINI Date: Thu, 3 Oct 2024 14:40:12 +0200 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b03343a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Node Auth Application Pipeline + +# Trigger the workflow +on: + push: + branches: + - '**' # Matches every branch for push events + pull_request: + branches: + - '**' # Matches every branch for pull request events + +jobs: + # Step: Cache and Install Dependencies + npm: + uses: SAINIAbhishek/shared-workflows/.github/workflows/cache-install-dependencies.yml@main + with: + node-version: '20.17.0' + lock-file: 'package-lock.json' + cache-path: 'node_modules' + cache-key-prefix: 'auth' + working-directory: './'