Update actions/setup-node digest to 395ad32 #260
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: Build ssh-agent | |
| on: | |
| push: | |
| paths: | |
| - .github/workflows/ssh-agent-build.yaml | |
| - ssh-agent/** | |
| pull_request: | |
| paths: | |
| - .github/workflows/ssh-agent-build.yaml | |
| - ssh-agent/** | |
| # Declare default permissions as read only. | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 | |
| with: | |
| node-version: 24 | |
| - name: Install Node.js dependencies | |
| run: | | |
| pushd ssh-agent/ | |
| npm ci | |
| popd | |
| - name: Run linters | |
| run: | | |
| pushd ssh-agent/ | |
| npm run prettier | |
| npm run eslint | |
| popd | |
| - name: Compile Node.js dependencies | |
| run: | | |
| pushd ssh-agent/ | |
| npm run compile | |
| popd |