Skip to content

1.0.0 🎉(hope it's going to be the good one) #13

1.0.0 🎉(hope it's going to be the good one)

1.0.0 🎉(hope it's going to be the good one) #13

Workflow file for this run

name: Pipeline to publish package to npmjs
on:
push:
branches: ['main']
jobs:
build:
name: Build image
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name : Setup node
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}