Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Add build job with steps to install dependencies and build the project
Browse files Browse the repository at this point in the history
  • Loading branch information
kgapos committed Oct 25, 2023
1 parent 199fd8b commit bf5387f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [opened, synchronize, reopened]
jobs:
gitleaks:
name: gitleaks
name: GitLeaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -29,4 +29,19 @@ jobs:
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16.20.2'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

0 comments on commit bf5387f

Please sign in to comment.