chore(deps): update project and example deps #1553
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 | |
| jobs: | |
| test: | |
| name: Test JavaScript Examples | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./examples/developer-hub-javascript | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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 |