chore(deps): bump flat-cache from 3.1.0 to 6.1.1 #3216
This file contains 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@v4 | |
- uses: actions/setup-node@v4 | |
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@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci --ignore-scripts | |
- run: npm test | |
# This is being run separately since it's not playing nicely with Node 14. | |
# Once we drop Node 14 support we can probably consolidate this again. | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/node | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci --ignore-scripts | |
- run: npm run lint |