From a547db3367c19ce12d89c2c8508a555725f3bfcc Mon Sep 17 00:00:00 2001 From: Nikolas Evers Date: Thu, 6 Jun 2024 03:23:07 +0200 Subject: [PATCH] add node 22 to test matrix (#307) --- .github/workflows/nodejs.yml | 1 + README.md | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0b63899..2e8ae6b 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,6 +8,7 @@ jobs: matrix: node: - 20 + - 22 platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/README.md b/README.md index b98a8fa..e5bb0ac 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,12 @@ npx -q random-starred-repository username ```sh https://github.com/carbon-app/carbon ``` + +## Development +Run test matrix locally with [`act`](https://github.com/nektos/act): +```sh +act --job build \ + --workflows .github/workflows/nodejs.yml \ + --platform ubuntu-latest=shivammathur/node:latest \ + --container-architecture linux/amd64 +``` \ No newline at end of file