From 44056bfc3cb612b02a2dbdbed5e71641af8f646a Mon Sep 17 00:00:00 2001 From: Evgeniy Frolov Date: Mon, 13 Jan 2025 18:48:14 +0300 Subject: [PATCH] chore(ci): add prettier lint Signed-off-by: Evgeniy Frolov --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..74fdb06 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: + workflow_call: + +jobs: + prettier: + runs-on: ubuntu-latest + timeout-minutes: 7 + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Task + uses: arduino/setup-task@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Install prettier + run: task -p deps:install:prettier + + - name: Lint + run: task -p lint:prettier