Skip to content

refactor: Move manager and ref code #3

refactor: Move manager and ref code

refactor: Move manager and ref code #3

name: Publish Package Dry Run
on:
pull_request:
workflow_dispatch:
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: latest
- name: Install nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint library
run: pnpm -r lint
- name: Build library
if: ${{ success() }}
run: pnpm -r build
- name: Publish package
run: pnpm -r publish --access public --no-git-checks --dry-run