Skip to content

chore(deps): lock file maintenance #2855

chore(deps): lock file maintenance

chore(deps): lock file maintenance #2855

Workflow file for this run

name: test
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
LOG_LEVEL: debug
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
standalone: true
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install
- run: pnpm prettier
preset:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: ghcr.io/renovatebot/renovate:38.142.7@sha256:8327ee1726142dcc504d349d84c0e7f41656867e598ea7669bb7cf23786610a2
# github hosted runners are running as `1001:127` (ubuntu:docker)
options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127
strategy:
matrix:
file:
- default
- renovate-config
- merge-queue
- .github/renovate
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: testing ${{ matrix.file }}
run: renovate-config-validator ${{ matrix.file }}.json
preset-success:
runs-on: ubuntu-latest
needs:
- preset
- lint
timeout-minutes: 1
if: always()
steps:
- name: Fail for failed or cancelled presets
if: |
needs.test.result == 'failure' ||
needs.test.result == 'cancelled'
run: exit 1