diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 7da5fce..afc89b7 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -27,4 +27,22 @@ jobs: - name: Install gitlint run: pip install --user requests gitlint - name: Lint commit messages added to main - run: ~/.local/bin/gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD \ No newline at end of file + run: ~/.local/bin/gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD + + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install dependencies + run: yarn install + + - name: Run linter over sources + run: yarn run format