Skip to content

Commit 3959fd4

Browse files
afuchereca
andauthored
chore: upgrade CI to Node 20, fix LICENSE and package.json metadata (#91)
- Upgrade CI workflows from Node 16 (EOL) to Node 20 - Upgrade actions/checkout and actions/setup-node from v3 to v4 - Fix copyright holder name in LICENSE (was incorrectly copied from another repo at project creation — the actual author and copyright holder has always been Arthur Fücher) - Update copyright year range to 2015-2025 - Fix typo in package.json keywords: ephemetis → ephemeris 🤖 Generated with [eca](https://eca.dev) Co-authored-by: eca <noreply@eca.dev>
1 parent f1fdbbe commit 3959fd4

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ jobs:
99
lint:
1010
runs-on: ubuntu-22.04
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 16
15+
node-version: 20
1616
- run: npm ci
1717
- run: npm run lint
1818

1919
test:
2020
runs-on: ubuntu-22.04
2121
steps:
22-
- uses: actions/checkout@v3
23-
- uses: actions/setup-node@v3
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 16
25+
node-version: 20
2626
- run: npm ci
2727
- run: npm run test:coverage
2828

2929
build: # sanity check that build does not throw errors
3030
runs-on: ubuntu-22.04
3131
steps:
32-
- uses: actions/checkout@v3
33-
- uses: actions/setup-node@v3
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-node@v4
3434
with:
35-
node-version: 16
35+
node-version: 20
3636
- run: npm ci
3737
- run: npm run build

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 16
17+
node-version: 20
1818
- run: npm ci
1919
- run: npm test
2020

2121
publish-npm:
2222
needs: build
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-node@v3
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 16
28+
node-version: 20
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
3131
- run: npm publish

LICENSE

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

3-
Copyright (c) 2015-2018 Matheus Alves
3+
Copyright (c) 2015-2025 Arthur Fücher
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"chart",
88
"horoscope",
99
"zodiac",
10-
"ephemetis"
10+
"ephemeris"
1111
],
1212
"license": "MIT",
1313
"repository": {

0 commit comments

Comments
 (0)