Skip to content

Fix/exec path vulnerability #943

Fix/exec path vulnerability

Fix/exec path vulnerability #943

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24, 25, 26]
steps:
- uses: actions/checkout@v7
- uses: pnpm/setup@v2
with:
runtime: node@${{ matrix.node-version }}
cache: true
- run: pnpm build
- name: Test
env:
GIT_AUTHOR_NAME: 'Simple Git Tests'
GIT_AUTHOR_EMAIL: 'tests@simple-git.dev'
run: pnpm test
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- uses: pnpm/setup@v2
with:
runtime: node@24
cache: true
- run: pnpm build
- name: Test
env:
GIT_AUTHOR_NAME: 'Simple Git Tests'
GIT_AUTHOR_EMAIL: 'tests@simple-git.dev'
run: pnpm test:win
consumer:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22, 24, 26 ]
steps:
- uses: actions/checkout@v7
- uses: pnpm/setup@v2
with:
runtime: node@${{ matrix.node-version }}
cache: true
- name: Build
env:
SIMPLE_GIT_PKG_CONFIG_ONLY: true
run: pnpm build && pnpm build:pkg
- run: pnpm test:consumer