chore(deps): bump the actions-all group with 2 updates #1630
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: Test JavaScript Examples | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "examples/developer-hub-javascript/**" | |
| - ".github/workflows/test-javascript-examples.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test JavaScript Examples | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./examples/developer-hub-javascript | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: "npm" | |
| cache-dependency-path: "examples/developer-hub-javascript/package-lock.json" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Format with prettier | |
| run: npm run format:diff | |
| - name: Lint with ESLint | |
| run: npm run lint | |
| - name: Test with jest | |
| run: npm run test |