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