Skip to content

release: update version to 2.1.0-beta.6 #546

release: update version to 2.1.0-beta.6

release: update version to 2.1.0-beta.6 #546

Workflow file for this run

# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Build for commit
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
env:
# https://github.com/chalk/supports-color/blob/main/index.js#L21
# https://github.com/chalk/supports-color/blob/main/index.js#L54
FORCE_COLOR: true
steps:
- name: Checkout
# https://github.com/actions/checkout
uses: actions/checkout@v3
with:
# Number of commits to fetch. 0 indicates all history.
fetch-depth: 1
- name: Prepare for building
uses: ./.github/actions/prepare
- name: Build packages
run: |
pnpm build:packages
- name: Build examples
run: |
pnpm build:examples
- name: Build documentation site
run: |
pnpm --filter @react-dev-inspector/docs build
- name: Deploy site
if: ${{ github.ref == 'refs/heads/dev' }}
# https://github.com/peaceiris/actions-gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/dist