Put timestamp first in SPFxScaffoldLog JSONL output #1031
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: CI | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| branches: ['main', 'version/**'] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| nodeVersion: 22.14.x | |
| displayName: Ubuntu (Node 22) | |
| - os: ubuntu-latest | |
| nodeVersion: 24.14.x | |
| displayName: Ubuntu | |
| - os: windows-latest | |
| nodeVersion: 24.14.x | |
| displayName: Windows | |
| name: Build on ${{ matrix.displayName }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| env: | |
| INSTALL_RUN_RUSH_LOCKFILE_PATH: ${{ github.workspace }}/common/config/validation/rush-package-lock.json | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 2 | |
| - run: git config --global user.email "spfx-cli-bot@users.noreply.github.com" | |
| - run: git config --global user.name "SPFx CLI Bot" | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.nodeVersion }} | |
| - name: Verify Change Logs | |
| # Only required when targeting main — version/** branches are not used for publishing releases | |
| if: (github.event_name == 'pull_request' && github.base_ref == 'main') || (github.event_name != 'pull_request' && github.ref_name == 'main') | |
| run: node common/scripts/install-run-rush.js change --verify | |
| - name: Rush Install | |
| run: node common/scripts/install-run-rush.js install | |
| - name: Rush test-and-package-solution | |
| run: node common/scripts/install-run-rush.js test-and-package-solution --production --timeline --verbose |