Skip to content

Commit 5a795ed

Browse files
committed
Actions: test on latest Node.js LTS as well [skip build]
Fix concurrency restriction for matrix, update copyright year
1 parent 59134a1 commit 5a795ed

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/node.js.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
1+
# SPDX-FileCopyrightText: © 2020–2025 Luna Brand, Kevin Lu
2+
# SPDX-Licence-Identifier: AGPL-3.0-or-later
43
name: Compile and test
5-
64
on:
75
push:
86
branches: [master]
97
pull_request:
108
branches: [master]
11-
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
1212
jobs:
1313
test:
1414
strategy:
@@ -17,21 +17,20 @@ jobs:
1717
os:
1818
- ubuntu-latest
1919
- ubuntu-24.04-arm
20+
node-version:
21+
- 20
22+
- 22
2023
runs-on: ${{ matrix.os }}
2124
if: >-
2225
!(
2326
contains(github.event.head_commit.message, '[skip test]') ||
2427
contains(github.event.head_commit.message, '[test skip]')
2528
)
26-
concurrency:
27-
group: ${{ github.workflow }}-${{ github.ref }}
28-
cancel-in-progress: true
2929
steps:
3030
- uses: actions/checkout@v4
31-
- name: Install Node
32-
uses: actions/setup-node@v4
31+
- uses: actions/setup-node@v4
3332
with:
34-
node-version: 20
33+
node-version: ${{ matrix.node-version }}
3534
cache: yarn
3635
- run: yarn
3736
- run: yarn build

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Please use Australian English spellings.
116116
117117
## Licence
118118
119-
Copyright © 2020–2024 Luna Brand, Kevin Lu.
119+
Copyright © 2020–2025 Luna Brand, Kevin Lu.
120120
See [COPYING](https://github.com/DawnbrandBots/emcee-tournament-bot/blob/master/COPYING) for more details.
121121
122122
```

0 commit comments

Comments
 (0)