Nightly #1148
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: Nightly | |
| on: | |
| schedule: | |
| - cron: "0 3 * * *" | |
| workflow_dispatch: ~ | |
| permissions: read-all | |
| jobs: | |
| test: | |
| name: Test against latest dependency versions (${{ matrix.name }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: MacOS | |
| os: macos-26 | |
| - name: Ubuntu | |
| os: ubuntu-24.04 | |
| - name: Windows | |
| os: windows-2025 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Verify action checksums | |
| uses: ./.github/actions/ghasum | |
| - name: Install Node.js | |
| uses: actions/[email protected] | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: npm clean-install | |
| - name: Bump runtime dependencies to latest compatible | |
| run: | | |
| npm update --omit dev --omit optional --omit peer | |
| npm install | |
| - name: Install csh | |
| if: ${{ matrix.name == 'Ubuntu' }} | |
| run: sudo apt-get --assume-yes install csh | |
| - name: Install Zsh | |
| if: ${{ matrix.name == 'Ubuntu' }} | |
| run: sudo apt-get --assume-yes install zsh | |
| - name: Run integration tests | |
| run: npm run test:integration | |
| - name: Run end-to-end tests | |
| run: npm run test:e2e | |
| tooling: | |
| name: Tool update | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write # To push a commit | |
| pull-requests: write # To open a Pull Request | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Verify action checksums | |
| uses: ./.github/actions/ghasum | |
| - name: Create automation token | |
| uses: actions/[email protected] | |
| id: automation-token | |
| with: | |
| app-id: ${{ secrets.AUTOMATION_APP_ID }} | |
| private-key: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }} | |
| - name: Update tooling | |
| uses: ericcornelissen/tool-versions-update-action/[email protected] | |
| with: | |
| commit-message: Bump {{updated-tools}} from {{updated-old-versions}} to {{updated-new-versions}} | |
| labels: dependencies | |
| max: 1 | |
| pr-body: | | |
| Bumps {{updated-tools}} from {{updated-old-versions}} to {{updated-new-versions}}. | |
| --- | |
| _This Pull Request was created using the [tool-versions-update-action]._ | |
| [tool-versions-update-action]: https://github.com/ericcornelissen/tool-versions-update-action | |
| pr-title: Bump {{updated-tools}} from {{updated-old-versions}} to {{updated-new-versions}} | |
| token: ${{ steps.automation-token.outputs.token }} |