Skip to content
Closed

Main #137

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,19 @@ concurrency:
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- release/**
workflow_dispatch:

jobs:
test-and-lint:
name: Preview - Test & Lint
name: CI - Test & Lint
# Este job SEMPRE roda (para satisfazer o check obrigatório)
# O 'dummy pass' acontece DENTRO do 'reusable-lint'
uses: ./.github/workflows/reusable-test-and-lint.yml
with:
node-version: "22.x"

deploy-preview:
name: Preview - Deploy to Vercel
name: CI - Deploy to Vercel
needs: test-and-lint
# ❌ REMOVIDO: O 'if: needs.test-and-lint.outputs.code-changed == 'true''
# Este job TEM que rodar sempre para o status check
Expand All @@ -51,6 +48,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

validate-release-branch:
name: Validate Release Branch for Main
# ✅ SEGUINDO O TUTORIAL: 'if:' sem aspas
if: github.event_name == 'pull_request' && github.base_ref == 'main'
runs-on: ubuntu-latest
Expand Down Expand Up @@ -95,7 +93,7 @@ jobs:

| Recurso | Link |
|---|---|
| **🔗 URL de Preview** | https://www.dpreview.com/(${{ needs.deploy-preview.outputs.deployment_url }}) |
| **🔗 URL de Preview** | [URL de Preview](${{ needs.deploy-preview.outputs.deployment_url }}) |
| **📜 Logs do Deploy** | [Ver logs da Action](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) |

---
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ on:

jobs:
test-and-lint:
name: Production - Test & Lint
name: CI - Test & Lint
# Este job SEMPRE roda para satisfazer o Required Check
# O filtro de paths está DENTRO do reusable-test-and-lint
uses: ./.github/workflows/reusable-test-and-lint.yml
with:
node-version: "22.x"

deploy-production:
name: Production - Deploy to Vercel
name: CI - Deploy to Vercel
needs: test-and-lint
# ✅ CORREÇÃO: Aplicando o tutorial
# 'if:' sem aspas externas
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## [1.3.1](https://github.com/JaegerCaiser/mrdeveloper/compare/v1.3.0...v1.3.1) (2025-11-07)


### Bug Fixes

* add missing name field to validate-release-branch job ([90cf1a3](https://github.com/JaegerCaiser/mrdeveloper/commit/90cf1a3ced15beb3c2e40a0f67079daccd0eac44))
* correct preview URL link in PR comment ([b983a4b](https://github.com/JaegerCaiser/mrdeveloper/commit/b983a4b72400e381a11111695a7672dd697a4221))
* rename workflow jobs to prevent status check conflicts ([7f1170e](https://github.com/JaegerCaiser/mrdeveloper/commit/7f1170ed09ce5c361041651cbc57099601d38abb))
* rename workflow jobs to prevent status check conflicts ([b723c32](https://github.com/JaegerCaiser/mrdeveloper/commit/b723c320ab002923fc62e731e0086809c2620be7))
* restore proper preview URL link format in PR comment ([5a63117](https://github.com/JaegerCaiser/mrdeveloper/commit/5a6311781003512c3fa14b9fb786c897cc0eb6ae))

## [1.3.1-beta.1](https://github.com/JaegerCaiser/mrdeveloper/compare/v1.3.0...v1.3.1-beta.1) (2025-11-07)


### Bug Fixes

* correct preview URL link in PR comment ([b983a4b](https://github.com/JaegerCaiser/mrdeveloper/commit/b983a4b72400e381a11111695a7672dd697a4221))
* rename workflow jobs to prevent status check conflicts ([7f1170e](https://github.com/JaegerCaiser/mrdeveloper/commit/7f1170ed09ce5c361041651cbc57099601d38abb))
* rename workflow jobs to prevent status check conflicts ([b723c32](https://github.com/JaegerCaiser/mrdeveloper/commit/b723c320ab002923fc62e731e0086809c2620be7))

# [1.3.0](https://github.com/JaegerCaiser/mrdeveloper/compare/v1.2.4...v1.3.0) (2025-11-07)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mrdeveloper",
"version": "1.3.0",
"version": "1.3.1",
"type": "module",
"packageManager": "pnpm@10.20.0",
"homepage": "https://www.mrdeveloper.com.br/",
Expand Down