Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Nov 28, 2024
1 parent 37d0f6d commit a4e6648
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: tc-build
on: [push, pull_request]

jobs:
test:
lint:
strategy:
matrix:
platform: [ubuntu-latest]
Expand All @@ -19,25 +19,25 @@ jobs:
- run: npm install
- run: npm run lint
# - run: npm run test
- run: npm run build
env:
NEXT_PUBLIC_PROJECT_ID: 'ABCD'
# - run: npm run build
# env:
# NEXT_PUBLIC_PROJECT_ID: 'ABCD'


coverage:
needs: [test]
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.18.0'
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run coverage
# coverage:
# needs: [test]
# name: coverage
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: '18.18.0'
# cache: 'npm'
# - run: npm ci
# # - run: npm run build
# - uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
# with:
# coverageCommand: npm run coverage

0 comments on commit a4e6648

Please sign in to comment.