Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/workflows/examples-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ name: examples-test
#

# run this on push to any branch and creation of pull-requests
on:
on:
push:
paths:
- 'examples/**'
- 'tests/**'
- "examples/**"
- "tests/**"
- ".github/workflows/examples-tests.yaml"
pull_request:
paths:
- 'examples/**'
- 'tests/**'
- "examples/**"
- "tests/**"
- ".github/workflows/examples-tests.yaml"
workflow_dispatch: {}

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4 # checkout repo content
with:
fetch-depth: 0
- uses: actions/setup-node@v4 # setup Node.js
with:
node-version: '20.x'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test

- uses: actions/checkout@v4 # checkout repo content
with:
fetch-depth: 0
- uses: actions/setup-node@v4 # setup Node.js
with:
node-version: "20.x"
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
Loading
Loading