Skip to content

build: replace yarn workspace & lerna with pnpm #1328 #654

build: replace yarn workspace & lerna with pnpm #1328

build: replace yarn workspace & lerna with pnpm #1328 #654

Workflow file for this run

name: πŸ”‚ Auto Inspection
on:
pull_request:
branches:
- next
jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get branch name (pull request)
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF})" >> $GITHUB_ENV
- uses: lxfu1/[email protected]
id: preview_step
with:
project_name: 'G'
dist_command: 'build'
project_branch: ${{ env.BRANCH_NAME }}
surge_token: ${{ secrets.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
build: |
yarn
- name: Get the preview url
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"