Skip to content

Merge pull request #30 from secretkeylabs/mahmoud/eng-4642-sats-conne… #25

Merge pull request #30 from secretkeylabs/mahmoud/eng-4642-sats-conne…

Merge pull request #30 from secretkeylabs/mahmoud/eng-4642-sats-conne… #25

name: Build and Publish NPM package
on:
push:
branches: [main]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Publish to NPM package registry
run: npm publish --access=public --tag=latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}