Skip to content

Add JSON spec tests as separate GitHub action #275

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,29 @@ jobs:
- name: Test with Node.js ${{ matrix.node-version }}
run: npm test

JSON-spec-tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 'node']

steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Print Node.js version and CI environment
run: |
echo "Node.js version: $(node -v)"
echo "Environment: CI=${{ env.CI }}"
- name: Download dependencies
run: npm ci
- name: Run JSON spec tests with Node.js ${{ matrix.node-version }}
run: npm run testSpecs

Coverage:
runs-on: ubuntu-latest

Expand Down
Loading