From 72ab97b1110a6b190dac3f5c3da62a8ec2a55526 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Mon, 20 Nov 2023 12:13:39 +0100 Subject: [PATCH 1/2] Try to add ci --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0a62ce1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: jest +run-name: ${{ github.actor }} is running jest +on: [push] +jobs: + run-jest: + runs-on: ubuntu-latest + defaults: + run: + working-directory: . + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '14' + - run: npm ci + - run: npm run test From 3d13438e6bacafeb7068b0f4fddb7d874a5086e9 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Mon, 20 Nov 2023 12:15:35 +0100 Subject: [PATCH 2/2] Node version 20 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a62ce1..6c9c2d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '14' + node-version: '20' - run: npm ci - run: npm run test