feat: add llama shield #29
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.11.1 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm run lint | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.11.1 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Playground prepare | |
| run: pnpm run dev:prepare | |
| - name: Test | |
| run: pnpm run test |