short:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
node:
- 24
- 22
name: Node.js ${{ matrix.node-version }} Quick
name: Node.js ${{ matrix.node }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Node.js & pnpm
old:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
node:
- 20
- 18
name: Node.js ${{ matrix.node-version }} Quick
name: Node.js ${{ matrix.node }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
with:
version: 10
- name: Install Node.js ${{ matrix.node-version }}
- name: Install Node.js ${{ matrix.node }}
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Run unit tests
run: pnpm bnt