-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
46 lines (42 loc) · 748 Bytes
/
.gitlab-ci.yml
File metadata and controls
46 lines (42 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
- when: never
stages:
- validate
- package
default:
image: node:24.14.1
cache:
key:
files:
- package-lock.json
paths:
- .npm/
before_script:
- npm install -g npm@11.13.0
- npm ci --cache .npm --prefer-offline
validate:
stage: validate
rules:
- when: manual
script:
- npm run audit:ci
- npm run format:check
- npm run lint
- npm run typecheck
- npm run test:unit
- npm run build
package:
stage: package
needs:
- validate
rules:
- when: manual
script:
- npm run check:ci
artifacts:
name: kicadstudio-vsix-$CI_COMMIT_REF_SLUG
paths:
- '*.vsix'
expire_in: 14 days