fix(deps): update dependency nanoid to v5 #806
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: Continuous Integration | |
on: pull_request | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
LATEST_NODE_VERSION: 20 | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [20, 22] | |
fail-fast: false | |
services: | |
rabbitmq: | |
image: rabbitmq:management | |
env: | |
RABBITMQ_ERLANG_COOKIE: 'SWQOKODSQALRPCLNMEQG' | |
RABBITMQ_DEFAULT_USER: 'rabbitmq' | |
RABBITMQ_DEFAULT_PASS: 'rabbitmq' | |
RABBITMQ_DEFAULT_VHOST: '/' | |
ports: | |
- 5672/tcp | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i --prefer-offline | |
- name: Build | |
run: pnpm build --concurrency=12 | |
- name: Run unit tests | |
run: pnpm test:ci | |
- name: Run Vitest unit tests | |
run: pnpm test:vitest:ci | |
- name: Publish code coverage | |
if: matrix.node == env.LATEST_NODE_VERSION | |
run: echo Not Implemented Yet | |
- name: Run integration tests | |
run: | | |
pnpm test:ci:integration | |
env: | |
NODE_ENV: ci | |
RABBITMQ_HOST: localhost | |
RABBITMQ_PORT: ${{ job.services.rabbitmq.ports[5672] }} |