Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 4 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down