Skip to content

Commit 8d2ebb9

Browse files
authored
Merge pull request #857 from erwindon/year
regression test for copyright year
2 parents 90b5f0c + cf81991 commit 8d2ebb9

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
- run: npm run eslint
4343

44+
- run: npm run test:year
45+
4446
- run: npm run test:coverage
4547

4648
- run: |

docs/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# License
22
The MIT License (MIT)
33

4-
Copyright (c) 2018-2023 Erwin Dondorp<br>
4+
Copyright (c) 2018-2026 Erwin Dondorp<br>
55
Copyright (c) 2017-2018 Martijn Jacobs<br>
66
Copyright (c) 2016-2017 Oliver Dunk
77

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"wait-for-docker": "node tests/helpers/wait-for-docker.js",
7373
"test:unit": "mocha --require @babel/register --trace-warnings --check-leaks --reporter spec tests/unit/",
7474
"test:functional": "mocha --bail --trace-warnings --check-leaks --reporter spec tests/functional/",
75-
"test:coverage": "nyc mocha --require @babel/register --trace-warnings --check-leaks --reporter spec tests/unit/"
75+
"test:coverage": "nyc mocha --require @babel/register --trace-warnings --check-leaks --reporter spec tests/unit/",
76+
"test:year": "grep -e `date +%y` docs/LICENSE.md"
7677
}
7778
}

0 commit comments

Comments
 (0)