diff --git a/.github/workflows/linters.yaml b/.github/workflows/lasuite.yaml similarity index 56% rename from .github/workflows/linters.yaml rename to .github/workflows/lasuite.yaml index 7da5fce..b4b1c82 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/lasuite.yaml @@ -1,4 +1,4 @@ -name: Linters +name: lasuite on: push: @@ -27,4 +27,23 @@ 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-and-build: + 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.x' + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Lint sources + run: yarn lint + - name: Format sources + run: yarn format + - name: Build sources + run: yarn build