chore(deps): bump actions/cache from 4 to 5 (#1297) #3633
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: nodejs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - run: npm ci --ignore-scripts | |
| - run: make test-metrics-node-express | |
| - run: make test-metrics-node-hapi | |
| - run: make test-metrics-node-fastify | |
| - run: make test-webhooks-node-express | |
| - name: Cleanup | |
| if: always() | |
| run: docker compose down | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: packages/node | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: | |
| - lts/-1 | |
| - lts/* | |
| - latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci --ignore-scripts | |
| - run: npm run lint | |
| - run: npm run build | |
| - run: npm test |