Skip to content

pre release ci

pre release ci #14

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: false
- name: Install packages
run: pnpm i --ignore-scripts
- name: Build
run: pnpm build --filter='./packages/*'
- name: Publish
uses: kotarella1110/pr-voyager@v0
with:
publish: pnpm publish -r --ignore-scripts --access public --filter "@location-state/*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}