fix: suppress experimental warning for node 23 MONGOSH-1895 #5
Workflow file for this run
This file contains 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: "Smoke Test Homebrew install" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
pull_request: # TODO: remove pull_request trigger | |
jobs: | |
smoke-test-homebrew: | |
name: Test on ${{ matrix.runner }} | |
runs-on: ${{ matrix.runner}} | |
strategy: | |
matrix: | |
runner: [macos-13, macos-14, macos-15] | |
fail-fast: false | |
steps: | |
- run: brew install mongosh | |
- run: mongosh --smokeTests | |
- name: Report failure | |
# TODO: replace with failure() | |
if: ${{ success() }} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MONGOSH_DEVEL_WEBHOOK_URL }} | |
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | |
uses: slackapi/[email protected] | |
with: | |
payload: | | |
{ | |
"text": "Homebrew smoke test failed on macOS ${{ matrix.runner }}" | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "Failed run: [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" | |
} | |
} | |
] | |
} |