From 88a9e43e3c378658a7bf2f0a5eb1bca561bdcc13 Mon Sep 17 00:00:00 2001 From: Daniel Starner Date: Mon, 1 May 2023 19:06:42 -0400 Subject: [PATCH 1/4] upgrade to current node versions in GHA; update license year --- .github/workflows/ci.yml | 2 +- LICENSE.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d92bec..292333d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [8.x, 10.x, 12.x, 14.x, 15.x] + node-version: [14.x, 15.x, 16.x, 18.x, 19.x, 20.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/LICENSE.md b/LICENSE.md index 4817267..633bcaf 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Heroku +Copyright (c) 2023 Heroku Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -26,7 +26,7 @@ License for portions of React Redux project from which this was derived: The MIT License (MIT) -Copyright (c) 2015 Dan Abramov +Copyright (c) 2023 Dan Abramov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 014516d4478fa9be5840a2cd902c544f8091fa24 Mon Sep 17 00:00:00 2001 From: Daniel Starner Date: Mon, 1 May 2023 19:09:38 -0400 Subject: [PATCH 2/4] better, explicit CI action names --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 292333d..c1a7887 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: jobs: build: runs-on: ubuntu-latest + name: Node.js ${{ matrix.node-version }} strategy: fail-fast: false matrix: From e7324fb1cef02df19ffa6c7ff494adbbf6cc5f43 Mon Sep 17 00:00:00 2001 From: Daniel Starner Date: Tue, 2 May 2023 09:42:26 -0400 Subject: [PATCH 3/4] test against different typescript versions as well --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1a7887..990c586 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,17 +7,24 @@ on: jobs: build: runs-on: ubuntu-latest - name: Node.js ${{ matrix.node-version }} + name: Node.js ${{ matrix.node-version }} / Typescript ${{ matrix.ts-version }} strategy: fail-fast: false matrix: - node-version: [14.x, 15.x, 16.x, 18.x, 19.x, 20.x] + node-version: [18.x, 20.x] + ts-version: ['3.9', '4.1', '5.0'] steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci + + - name: Install Dependencies + run: npm ci + + - name: Install TypeScript ${{ matrix.ts-version }} + run: npm install typescript@${{ matrix.ts-version }} + - run: npm run lint - run: npm test From 478e89259e3289e93d37a6741a8f8d2326382841 Mon Sep 17 00:00:00 2001 From: Daniel Starner Date: Tue, 2 May 2023 09:48:21 -0400 Subject: [PATCH 4/4] test against different react versions as well --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 990c586..97a78dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,13 @@ on: jobs: build: runs-on: ubuntu-latest - name: Node.js ${{ matrix.node-version }} / Typescript ${{ matrix.ts-version }} + name: Node ${{ matrix.node-version }} / TS ${{ matrix.ts-version }} / React ${{ matrix.react-version }} strategy: fail-fast: false matrix: node-version: [18.x, 20.x] ts-version: ['3.9', '4.1', '5.0'] + react-version: ['16'] steps: - uses: actions/checkout@v2 - name: Node.js ${{ matrix.node-version }} @@ -25,6 +26,9 @@ jobs: - name: Install TypeScript ${{ matrix.ts-version }} run: npm install typescript@${{ matrix.ts-version }} + + - name: Install React ${{ matrix.react-version }} + run: npm install react@${{ matrix.react-version }} - run: npm run lint - run: npm test