Skip to content

Commit

Permalink
Update validation.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
egekorkan authored Nov 11, 2024
1 parent f8e38fb commit c3bfb96
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,22 @@ jobs:

steps:
- name: Checkout wot-testing
uses: actions/checkout@v2

- name: Checkout thingweb-playground
uses: actions/checkout@v2
with:
repository: thingweb/thingweb-playground
path: thingweb-playground
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4.1.0
with:
node-version: '15'

- name: Use lerna
run: npm install -g [email protected]

- name: Bootstrap
working-directory: thingweb-playground
run: lerna bootstrap --no-ci
node-version: '20'

- name: Create empty folder
run: npm init -y

- name: Install Playground CLI
run: npm i @thing-description-playground/cli

- name: Run validation script on all new matching files
env:
VALIDATION_SCRIPT: thingweb-playground/packages/cli/index.js
VALIDATION_SCRIPT: node_modules/@thing-description-playground/cli/index.js
PATTERN: "*.td.jsonld"
run: |
# Get the list of changed files
Expand Down

0 comments on commit c3bfb96

Please sign in to comment.