Skip to content

Merge pull request #203 from BoomTech-LLC/staging #14

Merge pull request #203 from BoomTech-LLC/staging

Merge pull request #203 from BoomTech-LLC/staging #14

Workflow file for this run

name: Update Boomform Builder Version(Publish in NPM)
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Checking test cases
run: npm run test
- name: Build
run: npm run build
- name: Configure npm for authentication
run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}