Skip to content

Commit a821897

Browse files
authored
ci: move JS jobs from CircleCI to GH (#920)
1 parent 66446f2 commit a821897

File tree

3 files changed

+27
-32
lines changed

3 files changed

+27
-32
lines changed

.circleci/config.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -111,22 +111,6 @@ jobs:
111111
root: .
112112
paths: .
113113

114-
"Test: lint":
115-
<<: *js_defaults
116-
steps:
117-
- *addWorkspace
118-
- run:
119-
name: Lint check
120-
command: yarn test:lint
121-
122-
"Test: TypeScript":
123-
<<: *js_defaults
124-
steps:
125-
- *addWorkspace
126-
- run:
127-
name: TypeScript check
128-
command: yarn test:ts
129-
130114
"Test: Android unit":
131115
<<: *android_defaults
132116
steps:
@@ -266,23 +250,14 @@ workflows:
266250
"Testing":
267251
jobs:
268252
- "Setup environment"
269-
- "Test: lint":
270-
requires:
271-
- "Setup environment"
272-
- "Test: TypeScript":
273-
requires:
274-
- "Setup environment"
275253
- "Test: Android unit":
276254
requires:
277255
- "Setup environment"
278256
- "Test: iOS e2e":
279257
requires:
280-
- "Test: lint"
281-
- "Test: TypeScript"
258+
- "Setup environment"
282259
- "Test: Android e2e":
283260
requires:
284-
- "Test: lint"
285-
- "Test: TypeScript"
286261
- "Test: Android unit"
287262
filters:
288263
branches:

.github/workflows/ci.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ on:
55
- master
66
pull_request:
77
jobs:
8+
review:
9+
name: 'Review'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v3.6.0
16+
with:
17+
node-version: 16
18+
cache: 'yarn'
19+
- name: Install JS dependencies
20+
run: |
21+
yarn
22+
- name: Lint
23+
run: |
24+
yarn test:lint
25+
- name: TypeScript
26+
run: |
27+
yarn test:ts
828
macos:
929
name: 'macOS'
1030
runs-on: macos-latest
@@ -18,7 +38,7 @@ jobs:
1838
key: ${{ runner.os }}-ccache-${{ hashFiles('yarn.lock') }}
1939
restore-keys: ${{ runner.os }}-ccache-
2040
- name: Set up Node.js
21-
uses: actions/setup-node@v3.5.1
41+
uses: actions/setup-node@v3.6.0
2242
with:
2343
node-version: 16
2444
cache: 'yarn'
@@ -40,13 +60,13 @@ jobs:
4060
runs-on: windows-2019
4161
steps:
4262
- name: Set up MSBuild
43-
uses: microsoft/setup-msbuild@v1.1
63+
uses: microsoft/setup-msbuild@v1.3
4464
- name: Setup VSTest.console.exe
4565
uses: darenm/Setup-VSTest@v1.2
4666
- name: Checkout
4767
uses: actions/checkout@v3
4868
- name: Set up Node.js
49-
uses: actions/setup-node@v3.5.1
69+
uses: actions/setup-node@v3.6.0
5070
with:
5171
node-version: 16
5272
cache: 'yarn'

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12979,8 +12979,8 @@ __metadata:
1297912979
linkType: hard
1298012980

1298112981
"react-native-windows@npm:^0.68.0":
12982-
version: 0.68.26
12983-
resolution: "react-native-windows@npm:0.68.26"
12982+
version: 0.68.27
12983+
resolution: "react-native-windows@npm:0.68.27"
1298412984
dependencies:
1298512985
"@babel/runtime": ^7.0.0
1298612986
"@jest/create-cache-key-function": ^27.0.1
@@ -13021,7 +13021,7 @@ __metadata:
1302113021
peerDependencies:
1302213022
react: 17.0.2
1302313023
react-native: ^0.68.0
13024-
checksum: ea41e89da22d52acb2338853e7d320512f381f112f807d5cde50d7f9ffbbe99c5d846867ea9f915e2f3401debc16f23ab998520fe9652681503d01f7f2e18ffc
13024+
checksum: 93b4ec1af7beb71be891e3830fb0b9f06ddbe6b6754fe65e53a23c3680ea174d6d2406363477e193cd010786cdc793a1e0ad2d9f63c589ac7efd6cde97d52426
1302513025
languageName: node
1302613026
linkType: hard
1302713027

0 commit comments

Comments
 (0)