Merge pull request #3 from yobta/added-callback-aragument #18
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: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
full: | |
name: Node.js 20 Full | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install PNPM | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install modules | |
run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
- name: Run tests | |
run: make check | |
env: | |
NODE_OPTIONS: --openssl-legacy-provider | |
FORCE_COLOR: 2 | |
short: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 21 | |
- 22 | |
name: Node.js ${{ matrix.node-version }} Quick | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install PNPM | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install modules | |
run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
- name: Run unit tests | |
run: make test | |
env: | |
FORCE_COLOR: 2 |