From d6146fede19a3550b6b6cd0b54493081e78b50db Mon Sep 17 00:00:00 2001 From: wmporrassnyk <82461344+wmporrassnyk@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:26:47 -0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 00e5479f740..893ada20512 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,15 +5,11 @@ on: branches: [main] pull_request: branches: [main] + workflow_dispatch: jobs: build: - name: Test and Build runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x] # Define Node.js versions here - steps: - name: Checkout code uses: actions/checkout@v4 @@ -21,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 16.x cache: 'npm' - name: Install Snyk CLI and snyk-to-html