feat(alert-dialog): new component (#364) #923
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: CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
pull-requests: write | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-and-cache | |
- name: Lint | |
run: pnpm run lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-and-cache | |
- uses: ./.github/actions/cache-build | |
- name: Typecheck | |
run: pnpm run typecheck | |
build-test: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
needs: [lint, typecheck] | |
permissions: | |
# Required to checkout the code | |
contents: read | |
# Required to put a comment into the pull-request | |
pull-requests: write | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node_version: [18, 20] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-and-cache | |
- uses: ./.github/actions/cache-build | |
# - name: 🧪 Test | |
# run: pnpm test | |
- name: 🧪 Test with coverage | |
run: pnpm coverage | |
- name: 📝 Upload coverage | |
if: always() | |
uses: davelosert/vitest-coverage-report-action@v2 |