Skip to content

ci: migrate release to npm OIDC trusted publishing #181

ci: migrate release to npm OIDC trusted publishing

ci: migrate release to npm OIDC trusted publishing #181

Workflow file for this run

name: Publish Any Commit
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- run: pnpm dlx pkg-pr-new publish './packages/better-call'