Speedup CI runs #116

Merged
Brain merged 2 commits from ci-speedup into main 2024-09-10 12:53:35 +02:00

View File

@ -17,12 +17,12 @@ steps:
- name: reuse - name: reuse
image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399 image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399
- name: lint - name: lint
image: node:20.17.0@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7 image: node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03
commands: commands:
- npm ci - npm ci
- npm run lint -- --no-fix - npm run lint -- --no-fix
- name: audit - name: audit
image: node:20.17.0@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7 image: node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03
commands: commands:
- npm install -g better-npm-audit - npm install -g better-npm-audit
- better-npm-audit audit --production --level=moderate - better-npm-audit audit --production --level=moderate
@ -33,6 +33,9 @@ steps:
repo: git.wtf-eg.de/kompetenzinventar/frontend repo: git.wtf-eg.de/kompetenzinventar/frontend
target: ki-frontend target: ki-frontend
dry_run: true dry_run: true
when:
event:
- pull_request
--- ---
kind: pipeline kind: pipeline
@ -101,7 +104,7 @@ steps:
- name: reuse - name: reuse
image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399 image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399
- name: lint - name: lint
image: node:20.17.0@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7 image: node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03
commands: commands:
- npm ci - npm ci
- npm run lint -- --no-fix - npm run lint -- --no-fix