From 1bd972aa4beae7d7f1f13eca591d6b764d8bd4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Polg=C3=A1r?= <37218286+2colours@users.noreply.github.com> Date: Sun, 31 Mar 2024 18:17:37 +0200 Subject: [PATCH 1/3] Add tester workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Márton Polgár <37218286+2colours@users.noreply.github.com> --- .github/workflows/main.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1c79c8a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,38 @@ +name: Quality Check +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + node-version: + - 14 + - 16 + - 18 + - 20 + runs-on: ${{ matrix.os }} + steps: + - name: Clone repo + uses: actions/checkout@v4 + + - name: Set up node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm run test From a834af806054a164a2180dbac1dadc93feaeb9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Polg=C3=A1r?= <37218286+2colours@users.noreply.github.com> Date: Sun, 31 Mar 2024 18:25:48 +0200 Subject: [PATCH 2/3] Rename the active branch lol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Márton Polgár <37218286+2colours@users.noreply.github.com> --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1c79c8a..20937f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,10 +2,10 @@ name: Quality Check on: push: branches: - - main + - mistress pull_request: branches: - - main + - mistress jobs: test: From b70354a4b9c391facef78f206abc45a1b421a786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Polg=C3=A1r?= <37218286+2colours@users.noreply.github.com> Date: Sun, 31 Mar 2024 18:28:28 +0200 Subject: [PATCH 3/3] Remove old and failing node v14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Márton Polgár <37218286+2colours@users.noreply.github.com> --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20937f6..a322eab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,6 @@ jobs: - macos-latest - windows-latest node-version: - - 14 - 16 - 18 - 20