8000 rev core · getdreamio/packages@d18ee35 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rev core

rev core #41

name: Publish - Dream.mf Core
on:
push:
paths:
- "packages/dmf-core/**"
- ".github/workflows/npm-publish-core.yml"
release:
types: [created]
jobs:
build-and-publish:
runs-on: ubuntu-latest
env:
PACKAGE_DIR: packages/dmf-core
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 21
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-core
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}
0