Skip to content

Re-fork as digitalcredentials/jsonld v9.0.0. #32

Re-fork as digitalcredentials/jsonld v9.0.0.

Re-fork as digitalcredentials/jsonld v9.0.0. #32

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [20.x]
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
- name: Run eslint
run: npm run lint
test-node:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Fetch test suites
run: npm run fetch-test-suites
- name: Run test with Node.js ${{ matrix.node-version }}
run: npm run test-node
test-karma:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [20.x]
bundler: [webpack, browserify]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Fetch test suites
run: npm run fetch-test-suites
- name: Run karma tests
run: npm run test-karma
env:
BUNDLER: ${{ matrix.bundler }}