Skip to content

Thiabo/us007/adjust internationalization #174

Thiabo/us007/adjust internationalization

Thiabo/us007/adjust internationalization #174

Workflow file for this run

name: Rodar Testes
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
pipeline:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Instalar yarn
run: yarn
- name: Rodar testes
run: yarn run jest --coverage --updateSnapshot --ci --silent
- name: Scanner do SonarCloud
uses: SonarSource/sonarcloud-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Envia cobertura para o Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
fail_ci_if_error: true
files: ./coverage/clover.xml
flags: unittests
name: 2023-1-MeasureSoftGram-Front
verbose: true