chore(deps): update dependency node to v20.15.1 #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SonarCloud | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Update APT | |
run: sudo apt update | |
- name: Install LibreOffice | |
run: sudo apt install libreoffice imagemagick ghostscript | |
- name: Install imagemagick | |
run: sudo apt install imagemagick ghostscript | |
- name: Change ImageMagick policy to allow pdf->png conversion. | |
run: sudo sed -i 's/^.*policy.*coder.*none.*PDF.*//' /etc/ImageMagick-6/policy.xml | |
- name: npm install, lint, and test | |
run: | | |
npm ci | |
npm run lint:report | |
npm test | |
env: | |
CI: true | |
- name: SonarCloud Scan | |
uses: sonarsource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |