Bump actions/setup-node from 5.0.0 to 6.1.0 #130
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: "Smoke Tests" | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| # Basic smoke test that doesn't require secrets | |
| smoke-test: | |
| name: Smoke Test (${{ matrix.os }}) | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build Action | |
| run: npm run build | |
| - name: Test Action Loading (No Auth) | |
| uses: ./ | |
| with: | |
| version: "latest" | |
| continue-on-error: true | |
| id: smoke-test | |
| # The action should fail gracefully with a proper error message | |
| - name: Verify Expected Failure | |
| shell: bash | |
| run: | | |
| if [ "${{ steps.smoke-test.outcome }}" == "success" ]; then | |
| echo "❌ Expected action to fail without authentication, but it succeeded" | |
| exit 1 | |
| else | |
| echo "✅ Action correctly failed without authentication as expected" | |
| fi |