Skip to content

Commit e0ce954

Browse files
authored
Merge pull request #119 from ralfhandl/fix/test-workflow
Fix example-tests workflow
2 parents fbcfcc3 + 4a529d4 commit e0ce954

File tree

2 files changed

+739
-157
lines changed

2 files changed

+739
-157
lines changed

.github/workflows/examples-tests.yaml

+17-17
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@ name: examples-test
99
#
1010

1111
# run this on push to any branch and creation of pull-requests
12-
on:
12+
on:
1313
push:
1414
paths:
15-
- 'examples/**'
16-
- 'tests/**'
15+
- "examples/**"
16+
- "tests/**"
17+
- ".github/workflows/examples-tests.yaml"
1718
pull_request:
1819
paths:
19-
- 'examples/**'
20-
- 'tests/**'
20+
- "examples/**"
21+
- "tests/**"
22+
- ".github/workflows/examples-tests.yaml"
2123
workflow_dispatch: {}
2224

2325
jobs:
2426
test:
25-
2627
runs-on: ubuntu-latest
2728

2829
steps:
29-
- uses: actions/checkout@v4 # checkout repo content
30-
with:
31-
fetch-depth: 0
32-
- uses: actions/setup-node@v4 # setup Node.js
33-
with:
34-
node-version: '20.x'
35-
- name: Install dependencies
36-
run: npm install
37-
- name: Run tests
38-
run: npm test
39-
30+
- uses: actions/checkout@v4 # checkout repo content
31+
with:
32+
fetch-depth: 0
33+
- uses: actions/setup-node@v4 # setup Node.js
34+
with:
35+
node-version: "20.x"
36+
- name: Install dependencies
37+
run: npm ci
38+
- name: Run tests
39+
run: npm test

0 commit comments

Comments
 (0)