chore(deps): bump undici from 5.22.1 to 5.26.2 #32
Workflow file for this run
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 14, 16, 18, 20 ] | |
services: | |
hashicorp_vault: | |
image: hashicorp/vault | |
ports: | |
- 8200:8200 | |
options: >- | |
--hostname hashicorp_vault | |
--restart on-failure:10 | |
--health-cmd "vault status --address http://127.0.0.1:8200" | |
--health-interval 15s | |
--health-timeout 10s | |
--health-retries 10 | |
--health-start-period 60s | |
env: | |
VAULT_DEV_ROOT_TOKEN_ID: 2852e82e-c84c-4a82-8339-61b9ec503816 | |
SKIP_SETCAP: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npx eslint --ignore-path .gitignore --ext .json,.ts . | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npx vitest run --coverage | |
env: | |
VAULT_ADDRESS: http://localhost:8200 | |
VAULT_TOKEN: 2852e82e-c84c-4a82-8339-61b9ec503816 | |
- name: Send coverage report to Codecov | |
uses: codecov/codecov-action@v3 |