From 6a97b61ad2a1e4029ff5b3c65f7e7b0f89c24732 Mon Sep 17 00:00:00 2001 From: Goran Date: Mon, 26 Aug 2024 12:01:30 +0200 Subject: [PATCH] chore: update code coverage --- .github/workflows/coverage.yml | 16 ++++++++++++++++ .github/workflows/main.yml | 21 --------------------- 2 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 .github/workflows/coverage.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..e8af593 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,16 @@ +name: main +on: + - pull_request + - push +jobs: + main: + name: ${{matrix.node}} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - uses: codecov/codecov-action@v4 + with: + node-version: 20 + - run: npm install + - run: npm test diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 92b4905..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: main -on: - - pull_request - - push -jobs: - main: - name: ${{matrix.node}} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: dcodeIO/setup-node-nvm@master - with: - node-version: ${{matrix.node}} - - run: npm install - - run: npm test - - uses: codecov/codecov-action@v2.0.2 - strategy: - matrix: - node: - - lts/fermium - - node