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