From db0e85ed8dc2bd19f5721f7ac5e86cde6dd8acf1 Mon Sep 17 00:00:00 2001 From: Damien Debin Date: Wed, 16 Sep 2026 15:58:34 +0200 Subject: [PATCH] update workflows --- .github/workflows/main.yml | 24 ++++-------------------- .github/workflows/npm-publish.yml | 6 +++--- README.md | 1 - 3 files changed, 7 insertions(+), 24 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53d95b0..a8d972d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,9 @@ jobs: contents: read strategy: matrix: - node-version: [20, 22, 24, latest] + node-version: [20, 22, 24, 26] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: webfactory/ssh-agent@v0.10.0 with: ssh-private-key: | @@ -25,31 +25,15 @@ jobs: ${{ secrets.ECDSA_521_KEY }} ${{ secrets.ED25519_KEY }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run lint - run: npm run coverage - run: node ./dist/src/cli.js --help - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v6 - if: ${{ !cancelled() && matrix.node-version == 'latest' }} - with: - token: ${{ secrets.CODECOV_TOKEN }} - report_type: coverage - files: ./coverage/lcov.info - disable_search: true - - name: Upload test results to Codecov - uses: codecov/codecov-action@v6 - if: ${{ !cancelled() && matrix.node-version == 'latest' }} - with: - token: ${{ secrets.CODECOV_TOKEN }} - report_type: test_results - files: ./test-results.xml - disable_search: true - name: Publish test report uses: mikepenz/action-junit-report@v6 - if: ${{ (success() || failure()) && matrix.node-version == 'latest' }} + if: ${{ (success() || failure()) && matrix.node-version == 26 }} with: report_paths: ./test-results.xml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 53d2a1f..a212572 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,10 +15,10 @@ jobs: id-token: write # Required for OIDC contents: read steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 with: - node-version: 24 + node-version: 26 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run lint diff --git a/README.md b/README.md index 16079da..1c5d80a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # ssh-agent-secrets [![CI](https://img.shields.io/github/actions/workflow/status/ddebin/ssh-agent-secrets/main.yml)](https://github.com/ddebin/ssh-agent-secrets/actions) -[![Codecov](https://img.shields.io/codecov/c/github/ddebin/ssh-agent-secrets)](https://app.codecov.io/gh/ddebin/ssh-agent-secrets) [![NPM](https://img.shields.io/npm/v/ssh-agent-secrets)](https://www.npmjs.com/package/ssh-agent-secrets) [![License](https://img.shields.io/github/license/ddebin/ssh-agent-secrets)](./LICENSE)