Skip to content

test: add basic.test.js from noble-curves that tests types #660

test: add basic.test.js from noble-curves that tests types

test: add basic.test.js from noble-curves that tests types #660

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
test:
name: node @ ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
- run: npm run lint --if-present
test-polyfill:
name: node+webcrypto @ ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm run test:webcrypto
- run: npm run lint --if-present