Skip to content

Merge pull request #863 from hit-pay/dev-to-prod #1

Merge pull request #863 from hit-pay/dev-to-prod

Merge pull request #863 from hit-pay/dev-to-prod #1

Workflow file for this run

---
on:
push:
branches: main
jobs:
build:
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
- name: Running ci
run: npm ci
- name: Login npm
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Install dependencies
run: npm install
- name: build orchid core
run: npm run publish:core
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: publish orchid dashboard
run: npm run publish:dashboard
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}