Skip to content

Publish

Publish #1

Workflow file for this run

name: Publish
on:
release:
types:
- published
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Clean install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |-
npm publish \
-w packages/common \
-w packages/field \
-w packages/prg \
-w packages/vdaf \
-w packages/prio3 \
-w packages/dap