Merge pull request #660 from Kipper-Lang/526-feature-add-full-object-… #4631
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: Node.js Tests | |
on: [push, pull_request] | |
jobs: | |
# Run tests with 'pnpm install --frozen-lockfile' dependencies | |
tests-with-pck-lock-dependencies: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.x.x | |
run_install: false | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm test | |
# Run tests with 'pnpm i' dependencies | |
tests-with-pck-dependencies: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.x.x | |
run_install: false | |
- run: pnpm i | |
- run: pnpm test |