From ca3f0e09f6708c09d54b1eda92a31989e62d9aa9 Mon Sep 17 00:00:00 2001 From: Dzianis Sheka Date: Wed, 22 Jan 2025 20:41:31 +0200 Subject: [PATCH] fix GHA --- .github/workflow/tests.yml | 25 ------------------------- .github/workflows/tests.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 25 deletions(-) delete mode 100644 .github/workflow/tests.yml create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflow/tests.yml b/.github/workflow/tests.yml deleted file mode 100644 index 5ade62b..0000000 --- a/.github/workflow/tests.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Tests -run-name: Tests - -on: - push: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.ref_name != 'main' }} - -jobs: - tests: - runs-on: 'ubuntu-latest' - steps: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20.x' - - run: | - npm ci - - run: | - npm run test diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..1d8516d --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,23 @@ +name: Tests +run-name: Tests + +on: + push: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref_name != 'main' }} + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: | + npm ci + - run: | + npm run test