From a986197c49b1c9f0ad1f0d5b1487099f912eb787 Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Mon, 4 Apr 2022 13:43:54 -0400 Subject: [PATCH] fix dashboard lint --- .github/actions/prettier/action.yml | 6 +++++- .github/actions/python-flake8-lint/action.yml | 2 +- packages/dashboard-v2/yarn.lock | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/actions/prettier/action.yml b/.github/actions/prettier/action.yml index fdc68157..d24c65e8 100644 --- a/.github/actions/prettier/action.yml +++ b/.github/actions/prettier/action.yml @@ -19,7 +19,11 @@ runs: yarn prettier --check . shell: bash working-directory: ${{ inputs.working-directory }} - - if: inputs.working-directory == 'packages/dashboard-v2' || inputs.working-directory == 'packages/dashboard' + - if: inputs.working-directory == 'packages/dashboard' + run: yarn next lint + shell: bash + working-directory: ${{ inputs.working-directory }} + - if: inputs.working-directory == 'packages/dashboard-v2' run: yarn lint shell: bash working-directory: ${{ inputs.working-directory }} diff --git a/.github/actions/python-flake8-lint/action.yml b/.github/actions/python-flake8-lint/action.yml index 0fc02c06..fcd2d441 100644 --- a/.github/actions/python-flake8-lint/action.yml +++ b/.github/actions/python-flake8-lint/action.yml @@ -1,6 +1,6 @@ # Define action name, description, and inputs name: "Python Flake8 Lint" -description: "Lint python code with black" +description: "Lint python code with flake8" # Define action steps runs: diff --git a/packages/dashboard-v2/yarn.lock b/packages/dashboard-v2/yarn.lock index 30d4e8e8..c3de4379 100644 --- a/packages/dashboard-v2/yarn.lock +++ b/packages/dashboard-v2/yarn.lock @@ -14090,7 +14090,7 @@ sjcl@^1.0.8: resolved "https://registry.yarnpkg.com/sjcl/-/sjcl-1.0.8.tgz#f2ec8d7dc1f0f21b069b8914a41a8f236b0e252a" integrity sha512-LzIjEQ0S0DpIgnxMEayM1rq9aGwGRG4OnZhCdjx7glTaJtf4zRfpg87ImfjSJjoW9vKpagd82McDOwbRT5kQKQ== -skynet-js@^4.0.27-beta: +skynet-js@4.0.27-beta: version "4.0.27-beta" resolved "https://registry.yarnpkg.com/skynet-js/-/skynet-js-4.0.27-beta.tgz#4257bffda8757830656e0beb89d0d2e44da17e2f" integrity sha512-JV+QE/2l2YwVN1jQHVMFXgggwtBrPAnuyXySbLgafEJAde5dUwSEr5YRMV+3LvEgYkGhxSb74pyq0u0wrF2sUg==