Skip to content

chore: update /platform (#671) #877

chore: update /platform (#671)

chore: update /platform (#671) #877

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
branches: [master]
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm build
- name: Check source state
run: git add packages/*/src && git diff-index --cached HEAD --exit-code packages/*/src
- name: Create Release Pull Request or Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
id: changesets
uses: changesets/action@v1
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}