Skip to content

Flow-from-layout (#3) #17

Flow-from-layout (#3)

Flow-from-layout (#3) #17

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 }}