Skip to content

Bump @exercism/babel-preset-javascript from 0.6.0 to 0.7.0 (#1008) #604

Bump @exercism/babel-preset-javascript from 0.6.0 to 0.7.0 (#1008)

Bump @exercism/babel-preset-javascript from 0.6.0 to 0.7.0 (#1008) #604

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 / main
on:
push:
branches: [main]
jobs:
precheck:
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Use Node.js LTS
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
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-test-runner ci precheck (lint code)
run: bin/lint.sh
ci:
runs-on: ubuntu-26.04
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
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@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c
with:
install: true
- name: Build Docker image and store in cache
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a
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