Skip to content

Stop tracking open handles in every run #1413

Stop tracking open handles in every run

Stop tracking open handles in every run #1413

Workflow file for this run

# This workflow will do a clean install of node dependencies and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: javascript-test-runner / pr
on: pull_request
jobs:
precheck:
runs-on: ubuntu-26.04
steps:
- name: Checkout PR
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Use Node.js LTS
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1
with:
node-version-file: .nvmrc
- name: Install project dependencies
run: |
corepack enable pnpm
corepack pnpm -v
corepack pnpm install --frozen-lockfile
- name: Run exercism/javascript ci precheck (lint code)
run: bin/lint.sh
ci:
runs-on: ubuntu-26.04
strategy:
matrix:
node-version: [24.x, 26.x]
steps:
- name: Checkout PR
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7.1.0
with:
node-version: ${{ matrix.node-version }}
- name: Install project dependencies
run: |
corepack enable pnpm
corepack pnpm -v
corepack pnpm install --frozen-lockfile
- name: Build the test-runner (using Node ${{ matrix.node-version }})
run: bin/test.sh
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069
with:
install: true
- name: Build Docker image and store in cache
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc
with:
context: .
push: false
load: true
tags: exercism/javascript-test-runner
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Tests in Docker
run: bin/run-tests-in-docker.sh