Update Deployment.yml #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Deploy to Minikube | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
test_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Step 1: Check out the code from the repository | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
# Step 2: Snyk Vulnerability Scan (Server) | ||
- name: Snyk Code and Dependency Scan (Server) | ||
uses: snyk/actions/node@master | ||
with: | ||
command: test | ||
args: server | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
# Step 3: Snyk Vulnerability Scan (Client) | ||
- name: Snyk Code and Dependency Scan (Client) | ||
uses: snyk/actions/node@ | ||
Check failure on line 28 in .github/workflows/Deployment.yml GitHub Actions / Test and Deploy to MinikubeInvalid workflow file
|