From 3a5b96a761353d4b4750aca550743b08df2cc6ae Mon Sep 17 00:00:00 2001 From: Nishkarsh Raj Date: Tue, 10 Oct 2023 16:17:18 +0530 Subject: [PATCH] DevSecOps Pipeline --- .github/workflows/super-devsecops.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/super-devsecops.yml diff --git a/.github/workflows/super-devsecops.yml b/.github/workflows/super-devsecops.yml new file mode 100644 index 0000000..0a03350 --- /dev/null +++ b/.github/workflows/super-devsecops.yml @@ -0,0 +1,24 @@ +name: Super DevSecOps Pipeline + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [ 16.x, 18.x ] + steps: + - name: Checkout Repository to Runner Context + uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: | + yarn install