Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Byson94 authored Aug 25, 2024
1 parent bfc0100 commit f964d01
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Secure CI Workflow
name: Simple CI Workflow

on:
push:
Expand All @@ -8,11 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest # Default runner (Linux)

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest # Using Ubuntu as the runner

steps:
- uses: actions/checkout@v4
Expand All @@ -21,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '18' # Specify your Node.js version

- name: Install Dependencies
run: npm install
Expand All @@ -30,13 +26,3 @@ jobs:
run: npm run build
env:
NODE_ENV: production

- name: Security Scan
run: npm audit --json | tee audit.json | jq '.'
continue-on-error: true

- name: Lint Code
run: npm run lint

- name: Static Code Analysis
run: npm run analyze

0 comments on commit f964d01

Please sign in to comment.