Skip to content

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 #37

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 #37

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Run tests if available
run: |
if [ -n "$(find . -name '*.test.js' -o -name '*.test.ts' -o -name '*.spec.js' -o -name '*.spec.ts')" ]; then
yarn test --passWithNoTests
else
echo "No test files found. Skipping tests."
fi