Skip to content

Merge pull request #1 from ValchanOficial/develop #7

Merge pull request #1 from ValchanOficial/develop

Merge pull request #1 from ValchanOficial/develop #7

Workflow file for this run

name: ci-nodejs-workflow
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [19.x]
name: Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Node.js and run npm test
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}