Skip to content

Release JS package @teamhanko/passkeys-next-auth-provider #21

Release JS package @teamhanko/passkeys-next-auth-provider

Release JS package @teamhanko/passkeys-next-auth-provider #21

name: Release JS package @teamhanko/passkeys-next-auth-provider
on:
push:
tags:
- "@teamhanko/passkeys-sdk@*"
defaults:
run:
working-directory: packages/js/passkeys-next-auth-provider
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- uses: oven-sh/setup-bun@v1
- run: bun i
- run: bun run build
- name: publish passkeys-next-auth-provider
run: cd ./dist && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHING_SECRET }}