Skip to content

test deployment

test deployment #8

Workflow file for this run

name: Publish Package
on:
push:
branches:
- development
jobs:
build:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://npm.pkg.github.com
scope: "@chiraag918"
always-auth: true
- name: Install dependencies
run: npm i
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
- name: Build library
run: npm run build
- name: Publish to GitHub Packages
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}