fix(monorepo-preview-release): don't pollute npm latest on first publish + stream pnpm output
#4
Workflow file for this run
This file contains hidden or 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: Check actions dist sync | |
| on: | |
| pull_request: | |
| paths: | |
| - "actions/*/src/**" | |
| - "actions/*/package.json" | |
| - "actions/*/package-lock.json" | |
| - "actions/*/tsconfig.json" | |
| - "actions/*/mise.toml" | |
| - "mise.toml" | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| env: | |
| MISE_EXPERIMENTAL: "1" | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v5 | |
| - name: 🛠️ Setup mise | |
| uses: jdx/mise-action@v4 | |
| with: | |
| install: true | |
| cache: true | |
| experimental: true | |
| - name: 📦 Install deps | |
| run: mise run setup | |
| - name: 🔨 Build all actions | |
| run: mise run build | |
| - name: 🧪 Verify dist is in sync with src | |
| run: | | |
| if ! git diff --exit-code 'actions/*/dist'; then | |
| echo "::error::dist/ is out of sync with src/. Run 'mise run build' locally and commit the result." | |
| git diff 'actions/*/dist' | head -200 | |
| exit 1 | |
| fi |