Skip to content

Commit

Permalink
chore: add npm test ver (#166)
Browse files Browse the repository at this point in the history
* chore: add npm test ver

* chore: rm step
  • Loading branch information
zombieJ authored Dec 6, 2024
1 parent 9ed38b0 commit 789ce98
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: react component workflow

on: [workflow_call]

jobs:
react-component-workflow:
name: react component workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i --legacy-peer-deps
- run: npm run lint
- run: npx tsc --noEmit
- run: npm run compile
- run: npm run test -- --coverage
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 789ce98

Please sign in to comment.