Skip to content

Commit

Permalink
Merge pull request #119 from ralfhandl/fix/test-workflow
Browse files Browse the repository at this point in the history
Fix example-tests workflow
  • Loading branch information
lornajane authored Dec 19, 2024
2 parents fbcfcc3 + 4a529d4 commit e0ce954
Show file tree
Hide file tree
Showing 2 changed files with 739 additions and 157 deletions.
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

0 comments on commit e0ce954

Please sign in to comment.