Add initial version of the action and associated files #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Validate Action" | |
on: [pull_request] | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm ci | |
- 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" |