Skip to content

Final gh page

Final gh page #32

Workflow file for this run

name: build
run-name: ${{ github.event.head_commit.message }}
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install project
run: npm ci --silent
- name: Build
run: npm run build
# - name: Publish
# run: npm publish
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install project
run: npm ci --silent
- name: Test
run: npm test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}