Skip to content

Adding Github actions for npm publish, test #1

Adding Github actions for npm publish, test

Adding Github actions for npm publish, test #1

Workflow file for this run

name: Publish Package to npmjs
on:
pull_request:
branches:
- main
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm build
# - run: npm test