Skip to content

Merge pull request #3 from Holo-Host/feat/rewrite-password-to-memory #11

Merge pull request #3 from Holo-Host/feat/rewrite-password-to-memory

Merge pull request #3 from Holo-Host/feat/rewrite-password-to-memory #11

Workflow file for this run

name: 'client'
on:
push:
branches: [main]
paths:
- 'holo-key-manager-js-client/package.json'
- '.github/workflows/client.yaml'
jobs:
build:
runs-on: ubuntu-latest
environment:
name: Client
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
working-directory: holo-key-manager-js-client
- name: Build and pack
run: pnpm buildPack
working-directory: holo-key-manager-js-client
- name: Publish to npm
run: npm publish --access public
working-directory: holo-key-manager-js-client
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}