Skip to content

pre release ci

pre release ci #11

Workflow file for this run

name: PR Release
on:
pull_request:
branches: [main]
jobs:
pr-release:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and cache nodejs
uses: actions/setup-node@v3
with:
node-version: '18'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: true
- name: Build
run: pnpm build
- name: Publish
uses: kotarella1110/pr-voyager@v0
with:
publish: pnpm publish -r
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}