issue-470 - favoritar contas #1597
Workflow file for this run
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: Node.js CI | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
branches: ['master'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v3 | |
- name: Setup deps | |
uses: devhatt/workflows/.github/actions/pnpm-setup@main | |
- name: Run unit Tests | |
run: pnpm test:coverage --silent | |
- name: 'Report Coverage' | |
if: ${{ always() && !github.event.pull_request.head.repo.fork }} | |
uses: davelosert/vitest-coverage-report-action@v2 | |
- name: 'Upload Coverage' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: coverage | |
- name: Build | |
run: pnpm build | |
e2e: | |
needs: [build] | |
uses: devhatt/workflows/.github/workflows/playwright-tests.yml@main | |
with: | |
pnpm-version: '8' | |
node-version: '20' |