Skip to content

Update CI/CD to publish hpke-dhkemSecp256k1HkdfSha256. #390

Update CI/CD to publish hpke-dhkemSecp256k1HkdfSha256.

Update CI/CD to publish hpke-dhkemSecp256k1HkdfSha256. #390

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 /x/dhkemSecp256k1HkdfSha256
working-directory: ./x/dhkemSecp256k1HkdfSha256
run: |
deno task dnt
deno task minify > ./npm/hpke-dhkemSecp256k1.min.js