Skip to content

Libera o nome de usuário e email caso o token de ativação da conta expire #2390

Libera o nome de usuário e email caso o token de ativação da conta expire

Libera o nome de usuário e email caso o token de ativação da conta expire #2390

Workflow file for this run

name: CI
on: [pull_request]
concurrency:
group: ci-${{ github.event.pull_request.title }}
cancel-in-progress: true
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Start containers
run: npm run services:up
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run dev & npx vitest run
- name: Stop containers
if: always()
run: npm run services:down
- name: Check for uncommitted changes after tests
run: |
if [ -n "$(git status --porcelain)" ]; then
git status --porcelain
echo "Uncommitted changes found. Please review and commit these changes if necessary."
exit 1
else
echo "No uncommitted changes found"
fi
shell: bash
lint-styles:
name: Lint Styles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run lint
lint-commits:
name: Lint Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose