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
40 changes: 28 additions & 12 deletions .github/workflows/main.yml → .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Main Checks

on: [push]
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'

permissions: {}

jobs:
test-node:
Expand All @@ -10,16 +18,18 @@ jobs:
matrix:
node-version: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false
# FIXME: Install/build with 16.x until webpack is updated
- name: Use Node.js 16.x
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 16.x
- run: npm install
# FIXME: Run tests with target version until webpack is updated
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Run test with Node.js ${{ matrix.node-version }}
Expand All @@ -32,9 +42,11 @@ jobs:
node-version: [16.x]
bundler: [webpack, browserify]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand All @@ -49,9 +61,11 @@ jobs:
# matrix:
# node-version: [16.x]
# steps:
# - uses: actions/checkout@v4
# - uses: actions/checkout@v5
# with:
# persist-credentials: false
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# uses: actions/setup-node@v6
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm install
Expand All @@ -64,17 +78,19 @@ jobs:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Generate coverage report
run: npm run coverage-ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
file: ./coverage/lcov.info
files: ./coverage/lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Forge

[![npm package](https://nodei.co/npm/node-forge.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/node-forge/)
[![NPM](https://nodei.co/npm/node-forge.svg?data=d)](https://nodei.co/npm/node-forge/)

[![Build Status](https://github.com/digitalbazaar/forge/workflows/Main%20Checks/badge.svg)](https://github.com/digitalbazaar/forge/actions?query=workflow%3A%22Main+Checks%22)
[![Main Checks](https://github.com/digitalbazaar/forge/actions/workflows/main.yaml/badge.svg)](https://github.com/digitalbazaar/forge/actions/workflows/main.yaml)

A native implementation of [TLS][] (and various other cryptographic tools) in
[JavaScript][].
Expand Down