Skip to content

Build and Publish

Build and Publish #74

Workflow file for this run

name: Build and Publish
on:
create:
tags:
- v*
jobs:
publish:
name: Build and publishing package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build-prod
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}