Skip to content

Add hpke/core as a core HPKE module which has no dependencies. #428

Add hpke/core as a core HPKE module which has no dependencies.

Add hpke/core as a core HPKE module which has no dependencies. #428

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run dnt & minify
run: |
npm install -g esbuild
deno task dnt
deno task minify > ./npm/hpke.min.js
- name: Run dnt & minify for /core
working-directory: ./core
run: |
deno task dnt
deno task minify > ./npm/hpke-core.min.js
- name: Run dnt & minify for /x/dhkem-secp256k1
working-directory: ./x/dhkem-secp256k1
run: |
deno task dnt
deno task minify > ./npm/hpke-dhkem-secp256k1.min.js