Skip to content

Commit 3e6915f

Browse files
committed
Merge branch 'main' into @chrispader/migrate-to-react-native-nitro-sqlite
2 parents 93b428c + 7e0d434 commit 3e6915f

38 files changed

Lines changed: 30836 additions & 45019 deletions
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Set up Node
2+
description: Set up Node
3+
4+
inputs:
5+
IS_HYBRID_BUILD:
6+
description: "Indicates if node is set up for hybrid app"
7+
required: false
8+
default: 'false'
9+
10+
outputs:
11+
cache-hit:
12+
description: Was there a cache hit on the main node_modules?
13+
value: ${{ steps.cache-node-modules.outputs.cache-hit }}
14+
15+
runs:
16+
using: composite
17+
steps:
18+
- name: Remove E/App version from package-lock.json
19+
shell: bash
20+
run: jq 'del(.version, .packages[""].version)' package-lock.json > normalized-package-lock.json
21+
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version-file: '.nvmrc'
25+
cache: npm
26+
cache-dependency-path: |
27+
normalized-package-lock.json
28+
29+
- id: cache-node-modules
30+
# v4
31+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
32+
with:
33+
path: node_modules
34+
key: ${{format('{0}-node-modules-{1}', runner.os, hashFiles('package-lock.json', 'patches/**'))}}
35+
36+
- name: Install root project node packages
37+
if: steps.cache-node-modules.outputs.cache-hit != 'true'
38+
uses: nick-fields/retry@3f757583fb1b1f940bc8ef4bf4734c8dc02a5847
39+
with:
40+
timeout_minutes: 30
41+
max_attempts: 3
42+
command: npm ci

.github/actions/validateReassureOutput/action.yaml renamed to .github/actions/javascript/validateReassureOutput/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: 'Validate Regression Test Output'
22
description: 'Validates the output of regression tests and determines if a test action should fail.'
33
inputs:
4-
DURATION_DEVIATION_PERCENTAGE:
4+
ALLOWED_DURATION_DEVIATION:
5+
description: Allowable deviation in milliseconds for the mean duration in regression test results.
6+
required: true
7+
ALLOWED_RELATIVE_DURATION_DEVIATION:
58
description: Allowable percentage deviation for the mean duration in regression test results.
69
required: true
710
runs:

0 commit comments

Comments
 (0)