Skip to content

chore(deps): update primary-deps-major (major) #259

chore(deps): update primary-deps-major (major)

chore(deps): update primary-deps-major (major) #259

Workflow file for this run

name: pr
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
skip_coveralls:
description: "Skip coveralls"
type: boolean
default: false
skip_sonarcloud:
description: "Skip sonarcloud"
type: boolean
default: false
skip_tests:
description: "Skip tests"
type: boolean
default: false
jobs:
pr-build:
runs-on: ubuntu-latest
concurrency: ci-${{ github.ref }}
environment:
name: pr
steps:
- id: checkout
name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
persist-credentials: false
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- id: nodejs
name: Use Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: 20.x
cache: "npm"
- id: build
name: Build
run: npm run ci:build
- id: test
if: ${{ !github.event.inputs.skip_tests }}
name: Test
run: npm run ci:test
- id: coveralls
if: ${{ !github.event.inputs.skip_coveralls }}
name: Coveralls
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2
- id: sonarcloud
if: ${{ env.SONAR_TOKEN && !github.event.inputs.skip_sonarcloud }}
name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}