Skip to content

feat(core): Setup @sugarform/core (#8) #1

feat(core): Setup @sugarform/core (#8)

feat(core): Setup @sugarform/core (#8) #1

name: build-and-test
on:
push:
branches: [main]
pull_request_target:
permissions: read-all
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- if: ${{ github.event_name != 'pull_request_target' }}
uses: actions/checkout@v3
- if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup turbo
uses: ./.github/actions/setup-turbo
with:
turbo-cache-key: build-and-test
- name: Run Build
run: pnpm build