From 8a2f1b02d8df0b07eda44b3abcaabbb03e8f4c72 Mon Sep 17 00:00:00 2001 From: Jan W Date: Mon, 21 Oct 2024 17:52:11 +0200 Subject: [PATCH 1/4] ci: add checks --- .github/workflows/checks.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..6b33418 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,34 @@ +name: Checks + +on: + push: + branches: ['ain/perf'] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + +jobs: + check: + runs-on: ubuntu-latest + name: ${{ matrix.name }} + timeout-minutes: 10 + strategy: + fail-fast: false + matrix: + include: + - name: Build + cmd: yarn build + - name: Test + cmd: yarn test + - name: Test Types + cmd: yarn test:types + steps: + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + - uses: actions/setup-node@aca7b64a59c0063db8564e0ffdadd3887f1cbae5 + with: + node-version-file: .nvmrc + cache: yarn + - run: yarn + - run: ${{ matrix.cmd }} \ No newline at end of file From a41d9b647df6d356dd13208e55515b2c7b55df99 Mon Sep 17 00:00:00 2001 From: Jan W Date: Tue, 22 Oct 2024 08:29:58 +0200 Subject: [PATCH 2/4] style:eol --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 6b33418..70fe57b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -31,4 +31,4 @@ jobs: node-version-file: .nvmrc cache: yarn - run: yarn - - run: ${{ matrix.cmd }} \ No newline at end of file + - run: ${{ matrix.cmd }} From 52cabbf1ee4691d5755c042bdd06fa9574b5fc67 Mon Sep 17 00:00:00 2001 From: Jan W Date: Tue, 22 Oct 2024 08:31:03 +0200 Subject: [PATCH 3/4] ci: dont cache --- .github/workflows/checks.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 70fe57b..2f8318f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -29,6 +29,5 @@ jobs: - uses: actions/setup-node@aca7b64a59c0063db8564e0ffdadd3887f1cbae5 with: node-version-file: .nvmrc - cache: yarn - run: yarn - run: ${{ matrix.cmd }} From 3756fd31fcfb08db0c77363f2ae3b53a4d11d669 Mon Sep 17 00:00:00 2001 From: Jan W Date: Tue, 22 Oct 2024 08:32:34 +0200 Subject: [PATCH 4/4] ci: Test Types => Types --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2f8318f..3279e8a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -22,7 +22,7 @@ jobs: cmd: yarn build - name: Test cmd: yarn test - - name: Test Types + - name: Types cmd: yarn test:types steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29