Skip to content

PNPM

PNPM #201

Workflow file for this run

name: Node.js Build
on:
push:
branches:
- master
- feature-ci
pull_request:
branches:
- master
- feature-ci
page_build:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm install
- run: npm run lint
- run: npm run test
- name: Setup sonarqube
uses: warchant/setup-sonar-scanner@v3
- name: Run sonarqube
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
run: sonar-scanner
-Dsonar.sources=.
-Dsonar.exclusions=node_modules/**,sonar-scanner-3.3.0.1492-linux/**
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.projectKey=convert-postman-jmeter