Skip to content

Commit

Permalink
Bump dependencies & add prettier (#27)
Browse files Browse the repository at this point in the history
* bump dependencies

* bump jest and eslint

* add prettier

* return indent back

* add macOS 11 tests

* fix yaml

* fix job names
  • Loading branch information
maxim-lobanov committed Jul 20, 2021
1 parent cb46b9b commit bc5c628
Show file tree
Hide file tree
Showing 11 changed files with 3,110 additions and 4,526 deletions.
11 changes: 3 additions & 8 deletions .eslintrc.json
Expand Up @@ -8,7 +8,8 @@
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended"
"plugin:jest/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand All @@ -17,11 +18,5 @@
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "jest"],
"ignorePatterns": ["node_modules/"],
"rules": {
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double"],
"semi": ["error", "always"]
}
"ignorePatterns": ["node_modules/"]
}
39 changes: 39 additions & 0 deletions .github/workflows/e2e.yml
@@ -0,0 +1,39 @@
name: Validate 'setup-xcode'
on:
push:
branches:
- master
pull_request:
schedule:
- cron: 0 0 * * *

jobs:
versions-macOS-1015:
name: macOS 10.15
runs-on: macos-10.15
strategy:
matrix:
xcode-version: ['10.3', '11', '12', '12.0', '12.4', '^12.1.0', '~12.1.0', latest, latest-stable]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: ./
with:
xcode-version: ${{ matrix.xcode-version }}

versions-macOS-110:
name: macOS 11
runs-on: macos-11
strategy:
matrix:
xcode-version: ['11.7', '12', '12.5.0', '13', latest, latest-stable]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: ./
with:
xcode-version: ${{ matrix.xcode-version }}
24 changes: 0 additions & 24 deletions .github/workflows/test.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/workflow.yml
Expand Up @@ -28,5 +28,8 @@ jobs:
- name: Run tests
run: npm run test

- name: Run Prettier
run: npm run format-check

- name: Lint
run: npm run lint
5 changes: 5 additions & 0 deletions .prettierrc.json
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"tabWidth": 4,
"arrowParens": "avoid"
}

0 comments on commit bc5c628

Please sign in to comment.