Update SDK Documentation #243
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint & Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - 'main' | |
| concurrency: | |
| group: validate-${{ github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: Install Mise | |
| uses: caido/[email protected] | |
| with: | |
| version: ${{ vars.CI__MISE_VERSION }} | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Lint JS | |
| run: pnpm lint-prod | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: Install Mise | |
| uses: caido/[email protected] | |
| with: | |
| version: ${{ vars.CI__MISE_VERSION }} | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run build | |
| run: pnpm build |