Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Publish SDK

Publish SDK #2

Workflow file for this run

name: "Publish SDK"
on:
workflow_run:
workflows: ["testing"]
branches: [main]
types:
- completed
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: generate zkauth-sdk
shell: bash
run: |
npm install && npm run build
- name: publish zkauth-sdk
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npx pnpm --filter "@klaytn/*" -r publish --publish-branch main --no-git-check --access=public