Skip to content

Add output dir input, update unit test, add coverage validation #30

Add output dir input, update unit test, add coverage validation

Add output dir input, update unit test, add coverage validation #30

Workflow file for this run

name: "Validate Action"
on:
pull_request:
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- name: Install dependencies
run: npm install
- name: Run JSON File Action
uses: ./ # Assuming the action is in the root directory
with:
json-file-path: "__tests__/test.json"
example-app: "sample-app-1"
build-script: "__tests__/build_script.sh"