Skip to content

Commit

Permalink
ci(test): deploy text coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
litingyes committed Jan 18, 2025
1 parent 25de81e commit c7e138d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test

on:
push:
pull_request:
workflow_dispatch:

permissions:
pages: write
id-token: write

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: |
pnpm install
pnpm test:coverage
- uses: actions/upload-pages-artifact@v3
with:
path: coverage
- uses: actions/deploy-pages@v4

0 comments on commit c7e138d

Please sign in to comment.