Skip to content

Commit 3c774a5

Browse files
Create pipeline react-native-client
1 parent 5a0a25e commit 3c774a5

File tree

1 file changed

+70
-0
lines changed
  • .harness/orgs/PROD/projects/Harness_Split/pipelines

1 file changed

+70
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
pipeline:
2+
name: react-native-client
3+
identifier: reactnativeclient
4+
projectIdentifier: Harness_Split
5+
orgIdentifier: PROD
6+
tags: {}
7+
properties:
8+
ci:
9+
codebase:
10+
connectorRef: fmegithubharnessgitops
11+
repoName: react-native-client
12+
build: <+input>
13+
stages:
14+
- stage:
15+
name: Check-Test-Build
16+
identifier: CheckTestBuild
17+
description: ""
18+
type: CI
19+
spec:
20+
cloneCodebase: true
21+
caching:
22+
enabled: true
23+
override: true
24+
platform:
25+
os: Linux
26+
arch: Amd64
27+
runtime:
28+
type: Cloud
29+
spec:
30+
size: small
31+
imageSpec:
32+
imageName: ubuntu-latest
33+
execution:
34+
steps:
35+
- step:
36+
type: Action
37+
name: Set up Node.js
38+
identifier: Set_up_Nodejs
39+
spec:
40+
uses: dcodeIO/setup-node-nvm@master
41+
with:
42+
node-version: lts/*
43+
- step:
44+
type: Run
45+
name: npm ci
46+
identifier: npm_ci
47+
spec:
48+
shell: Sh
49+
command: npm ci
50+
- step:
51+
type: Run
52+
name: npm run check
53+
identifier: npm_run_check
54+
spec:
55+
shell: Sh
56+
command: npm run check
57+
- step:
58+
type: Run
59+
name: npm run test
60+
identifier: npm_run_test
61+
spec:
62+
shell: Sh
63+
command: npm run test -- --coverage
64+
- step:
65+
type: Run
66+
name: npm run build
67+
identifier: npm_run_build
68+
spec:
69+
shell: Sh
70+
command: npm run build

0 commit comments

Comments
 (0)