diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index dae41ad2..6c227e93 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,14 +1,14 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - +# SPDX-FileCopyrightText: © 2020–2025 Luna Brand, Kevin Lu +# SPDX-Licence-Identifier: AGPL-3.0-or-later name: Compile and test - on: push: branches: [master] pull_request: branches: [master] - +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test: strategy: @@ -17,21 +17,20 @@ jobs: os: - ubuntu-latest - ubuntu-24.04-arm + node-version: + - 20 + - 22 runs-on: ${{ matrix.os }} if: >- !( contains(github.event.head_commit.message, '[skip test]') || contains(github.event.head_commit.message, '[test skip]') ) - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true steps: - uses: actions/checkout@v4 - - name: Install Node - uses: actions/setup-node@v4 + - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: ${{ matrix.node-version }} cache: yarn - run: yarn - run: yarn build diff --git a/README.md b/README.md index ff28aeb7..7b3def55 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Please use Australian English spellings. ## Licence -Copyright © 2020–2024 Luna Brand, Kevin Lu. +Copyright © 2020–2025 Luna Brand, Kevin Lu. See [COPYING](https://github.com/DawnbrandBots/emcee-tournament-bot/blob/master/COPYING) for more details. ```