Update index.ts #31
This file contains 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: test | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
TBA_API_KEY: ${{ secrets.TBA_API_KEY }} | |
jobs: | |
packages: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: 🏗 Setup repository | |
uses: actions/checkout@v3 | |
- name: 🏗 Setup monorepo | |
uses: ./.github/actions/setup-monorepo | |
- name: ✅ Lint packages | |
run: pnpm run lint | |
- name: 👷 Build packages | |
run: pnpm run build | |
- name: 🧪 Test packages | |
run: pnpm run test |