Update CI/CD to publish hpke-dhkemSecp256k1HkdfSha256. #390
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |