Skip to content

Package updates 2024 #21

Package updates 2024

Package updates 2024 #21

Workflow file for this run

name: PR Checks
on:
pull_request:
branches:
- main
# allows you to manually trigger this in GH actions
workflow_dispatch:
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
jobs:
Test_And_Audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Packages
run: npm ci --ignore-scripts
- name: Audit
run: npm audit --audit-level=high
- name: Formatting
run: npm run pretty-check
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
- name: Build
run: npm run build