chore: use node 16 for local development (#4201)

This commit is contained in:
Yaroslav Serhieiev
2023-09-26 10:00:39 +03:00
committed by GitHub
parent b5256c2a7b
commit 006efdea12
9 changed files with 39 additions and 32 deletions
+4
View File
@@ -26,6 +26,10 @@ tab_width = 2
indent_size = 2
tab_width = 2
[{*.yaml,*.yml}]
indent_size = 2
tab_width = 2
[{*.css,*.scss,*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
indent_size = 2
tab_width = 2
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- uses: bahmutov/npm-install@v1
with:
useLockFile: false
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- uses: bahmutov/npm-install@v1
with:
useLockFile: false
+25 -25
View File
@@ -4,15 +4,15 @@ on:
push:
branches: [master]
paths:
- '.github/workflows/rapid-test.yml'
- 'detox/**'
- 'generation/**'
- '.github/workflows/rapid-test.yml'
- 'detox/**'
- 'generation/**'
pull_request:
branches: [master]
paths:
- '.github/workflows/rapid-test.yml'
- 'detox/**'
- 'generation/**'
- '.github/workflows/rapid-test.yml'
- 'detox/**'
- 'generation/**'
jobs:
@@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- name: Bootstrap Lerna
run: npx lerna@3 bootstrap --no-ci
env:
@@ -49,21 +49,21 @@ jobs:
working-directory: generation
windows:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Bootstrap Lerna (Light)
run: npx lerna@3 bootstrap --no-ci --include-dependents --include-dependencies --scope=detox-test
env:
DETOX_DISABLE_POD_INSTALL: true
DETOX_DISABLE_POSTINSTALL: true
- name: Unit tests
run: npm run unit -- --coverageThreshold "{}"
working-directory: detox
- name: Integration tests
run: npm run integration
working-directory: detox/test
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Bootstrap Lerna (Light)
run: npx lerna@3 bootstrap --no-ci --include-dependents --include-dependencies --scope=detox-test
env:
DETOX_DISABLE_POD_INSTALL: true
DETOX_DISABLE_POSTINSTALL: true
- name: Unit tests
run: npm run unit -- --coverageThreshold "{}"
working-directory: detox
- name: Integration tests
run: npm run integration
working-directory: detox/test
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version-file: '.nvmrc'
- name: Install surge
run: npm -g install surge
+2 -2
View File
@@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version-file: '.nvmrc'
- uses: dorny/paths-filter@v2
id: changes
with:
@@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version-file: '.nvmrc'
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
+2
View File
@@ -1 +1,3 @@
legacy-peer-deps=true
package-lock=false
workspaces=false
+1 -1
View File
@@ -1 +1 @@
lts/fermium
lts/gallium
+2 -1
View File
@@ -31,7 +31,8 @@
},
"bootstrap": {
"npmClientArgs": [
"--no-package-lock"
"--no-package-lock",
"--legacy-peer-deps"
]
}
}