This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Chore(deps): Bump postcss and next #2404
This file contains hidden or 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: CI | |
on: [push] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.10.0 | |
cache: npm | |
- run: npm ci --ignore-scripts | |
- run: npm run lint | |
- run: npm run test | |
# Upload coverage for sonarcube (only matching OS and one node version required) | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: code-coverage | |
path: coverage/ | |
sonarqube: | |
name: run sonarqube | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out | |
uses: actions/checkout@v3 | |
with: | |
# Sonar analysis needs the full history for features like automatic assignment of bugs. If the following step | |
# is not included the project will show a warning about incomplete information. | |
fetch-depth: 0 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: code-coverage | |
path: coverage/ | |
- name: SonarQube Scan | |
uses: kitabisa/[email protected] | |
with: | |
host: ${{ secrets.SONARQUBE_HOST }} | |
login: ${{ secrets.SONARQUBE_TOKEN }} |