mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-04-14 00:56:53 +00:00
SQSCANGHA-112 Migrate installation step
This commit is contained in:
parent
8f448484d9
commit
ed9f3aad50
12 changed files with 2963 additions and 216 deletions
25
.github/workflows/unit-tests.yml
vendored
Normal file
25
.github/workflows/unit-tests.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Unit tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: "npm"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
Loading…
Add table
Add a link
Reference in a new issue