diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e93d7e30..b00f274c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,10 @@ jobs: run: | eval $(ssh-agent -s) ssh-add <(echo "$DOCS_PRIVATE_KEY") + cd app + yarn + cd .. + rm app/node_modules/.yarn-integrity yarn yarn run docs rsync -e "ssh -o StrictHostKeyChecking=no" -arv docs/api/ root@ajenti.org:/srv/terminus-docs/ diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..1a148ca7 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +name: Lint +on: [push, pull_request] +jobs: + build: + runs-on: macOS-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Installing Node + uses: actions/setup-node@v1 + with: + version: 10 + + - name: Install deps + run: | + cd app + yarn + cd .. + rm app/node_modules/.yarn-integrity + yarn + + - name: Lint + run: yarn run lint diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index fc1ecc47..0d88f49c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -21,9 +21,6 @@ jobs: rm app/node_modules/.yarn-integrity yarn - - name: Lint - run: yarn run lint - - name: Build native deps run: scripts/build-native.js diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 763d8cc1..180427ea 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -21,9 +21,6 @@ jobs: rm app/node_modules/.yarn-integrity yarn - - name: Lint - run: yarn run lint - - name: Build native deps run: scripts/build-native.js diff --git a/yarn.lock b/yarn.lock index f31fe901..7757d131 100644 --- a/yarn.lock +++ b/yarn.lock @@ -112,39 +112,39 @@ integrity sha512-p8zp5xqkly3g4cCmo2mKOHI9+Z/kObmDj0BmjbDDJQlgDTiEGTbm17MEwTAusV6XceCy+bNw9q/ZHXHyKo3zkg== "@typescript-eslint/eslint-plugin@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.3.1.tgz#b0b1e6b9b3f84b3e1afbdd338f4194c8ab92db21" - integrity sha512-VqVNEsvemviajlaWm03kVMabc6S3xCHGYuY0fReTrIIOZg+3WzB+wfw6fD3KYKerw5lYxmzogmHOZ0i7YKnuwA== + version "2.3.3" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.3.3.tgz#71e06c6887650301e02105c99b4c8f67454157e3" + integrity sha512-12cCbwu5PbQudkq2xCIS/QhB7hCMrsNPXK+vJtqy/zFqtzVkPRGy12O5Yy0gUK086f3VHV/P4a4R4CjMW853pA== dependencies: - "@typescript-eslint/experimental-utils" "2.3.1" + "@typescript-eslint/experimental-utils" "2.3.3" eslint-utils "^1.4.2" functional-red-black-tree "^1.0.1" regexpp "^2.0.1" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.3.1.tgz#92f2531d3e7c22e64a2cc10cfe89935deaf00f7c" - integrity sha512-FaZEj73o4h6Wd0Lg+R4pZiJGdR0ZYbJr+O2+RbQ1aZjX8bZcfkVDtD+qm74Dv77rfSKkDKE64UTziLBo9UYHQA== +"@typescript-eslint/experimental-utils@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.3.3.tgz#0685613063ff397cfa9209be2e6e81c0382a9b11" + integrity sha512-MQ4jKPMTU1ty4TigJCRKFPye2qyQdH8jzIIkceaHgecKFmkNS1hXPqKiZ+mOehkz6+HcN5Nuvwm+frmWZR9tdg== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.3.1" + "@typescript-eslint/typescript-estree" "2.3.3" eslint-scope "^5.0.0" "@typescript-eslint/parser@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.3.1.tgz#f2b93b614d9b338825c44e75552a433e2ebf8c33" - integrity sha512-ZlWdzhCJ2iZnSp/VBAJ/sowFbyHycIux8t0UEH0JsKgQvfSf7949hLYFMwTXdCMeEnpP1zRTHimrR+YHzs8LIw== + version "2.3.3" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.3.3.tgz#af519d6572bdee3e9610e21c8362766858976bc1" + integrity sha512-+cV53HuYFeeyrNW8x/rgPmbVrzzp/rpRmwbJnNtwn4K8mroL1BdjxwQh7X9cUHp9rm4BBiEWmD3cSBjKG7d5mw== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.3.1" - "@typescript-eslint/typescript-estree" "2.3.1" + "@typescript-eslint/experimental-utils" "2.3.3" + "@typescript-eslint/typescript-estree" "2.3.3" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/typescript-estree@2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.3.1.tgz#62c64f149948473d06a129dc33b4fc76e6c051f9" - integrity sha512-9SFhUgFuePJBB6jlLkOPPhMkZNiDCr+S8Ft7yAkkP2c5x5bxPhG3pe/exMiQaF8IGyVMDW6Ul0q4/cZ+uF3uog== +"@typescript-eslint/typescript-estree@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.3.3.tgz#be802220876bedfb80384cde1d46fe57ae7abf71" + integrity sha512-GkACs12Xp8d/STunNv/iSMYJFQrkrax9vuPZySlgSzoJJtw1cp6tbEw4qsLskQv6vloLrkFJHcTJ0a/yCB5cIA== dependencies: glob "^7.1.4" is-glob "^4.0.1"