Skip to content

Commit 079ed9b

Browse files
committed
Add test for Zenodo metadata file
1 parent 5f04461 commit 079ed9b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Check zenodo metadata
2+
3+
on:
4+
push:
5+
paths:
6+
- '.zenodo.json'
7+
- '.github/workflows/validate-zenodo.yaml'
8+
9+
jobs:
10+
check-zenodo-metadata:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
19+
- name: Install dependencies
20+
run: npm install [email protected]
21+
- name: Check .zenodo.json file
22+
run: |
23+
npx zenodraft metadata validate .zenodo.json

0 commit comments

Comments
 (0)