Skip to content

Update test file extensions from .cpp to .c #3

Update test file extensions from .cpp to .c

Update test file extensions from .cpp to .c #3

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
- staging
pull_request:
branches:
- main
- staging
env:
JAVA_VERSION: 17
jobs:
test:
strategy:
fail-fast: false
matrix:
node-version: ['20.x', '18.x']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org/'
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build
- name: Run tests
run: npm run test