This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
Switch to pnpm, update dependencies #256
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: Compliance | |
on: pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 22 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g [email protected] | |
- name: Install | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 22 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g [email protected] | |
- name: Install | |
run: pnpm install | |
- name: Build | |
run: pnpm run build | |
- name: Test | |
run: pnpm run test | |
- name: Coverage | |
run: pnpm run coverage | |
integration: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 22 ] | |
redis-version: [ 4, 5 ] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g [email protected] | |
- name: Start Redis v${{ matrix.redis-version }} | |
uses: superchargejs/[email protected] | |
with: | |
redis-version: ${{ matrix.redis-version }} | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run integration |