Skip to content

Commit

Permalink
enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Dec 2, 2024
1 parent 64cc813 commit aa58198
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/test-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build Status
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
node-version: [lts/*]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"devDependencies": {
"brittle": "^3.7.0",
"corestore": "^6.18.4",
"hyperdht": "^6.20.1",
"test-tmp": "^1.3.0"
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const test = require('brittle')
const Autopass = require('./')
const Corestore = require('corestore')
const Hyperwarm = require('hyperswarm')
const testnet = require('hyperdht/testnet')
const tmp = require('test-tmp')

Expand Down

0 comments on commit aa58198

Please sign in to comment.