Skip to content

Commit bc5c628

Browse files
Bump dependencies & add prettier (#27)
* bump dependencies * bump jest and eslint * add prettier * return indent back * add macOS 11 tests * fix yaml * fix job names
1 parent cb46b9b commit bc5c628

File tree

11 files changed

+3110
-4526
lines changed

11 files changed

+3110
-4526
lines changed

.eslintrc.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"eslint:recommended",
99
"plugin:@typescript-eslint/eslint-recommended",
1010
"plugin:@typescript-eslint/recommended",
11-
"plugin:jest/recommended"
11+
"plugin:jest/recommended",
12+
"prettier"
1213
],
1314
"parser": "@typescript-eslint/parser",
1415
"parserOptions": {
@@ -17,11 +18,5 @@
1718
"sourceType": "module"
1819
},
1920
"plugins": ["@typescript-eslint", "jest"],
20-
"ignorePatterns": ["node_modules/"],
21-
"rules": {
22-
"indent": ["error", 4],
23-
"linebreak-style": ["error", "unix"],
24-
"quotes": ["error", "double"],
25-
"semi": ["error", "always"]
26-
}
21+
"ignorePatterns": ["node_modules/"]
2722
}

.github/workflows/e2e.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Validate 'setup-xcode'
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
schedule:
8+
- cron: 0 0 * * *
9+
10+
jobs:
11+
versions-macOS-1015:
12+
name: macOS 10.15
13+
runs-on: macos-10.15
14+
strategy:
15+
matrix:
16+
xcode-version: ['10.3', '11', '12', '12.0', '12.4', '^12.1.0', '~12.1.0', latest, latest-stable]
17+
fail-fast: false
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
22+
- uses: ./
23+
with:
24+
xcode-version: ${{ matrix.xcode-version }}
25+
26+
versions-macOS-110:
27+
name: macOS 11
28+
runs-on: macos-11
29+
strategy:
30+
matrix:
31+
xcode-version: ['11.7', '12', '12.5.0', '13', latest, latest-stable]
32+
fail-fast: false
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v2
36+
37+
- uses: ./
38+
with:
39+
xcode-version: ${{ matrix.xcode-version }}

.github/workflows/test.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ jobs:
2828
- name: Run tests
2929
run: npm run test
3030

31+
- name: Run Prettier
32+
run: npm run format-check
33+
3134
- name: Lint
3235
run: npm run lint

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 100,
3+
"tabWidth": 4,
4+
"arrowParens": "avoid"
5+
}

0 commit comments

Comments
 (0)