Skip to content

build

build #544

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
merge_group:
schedule:
- cron: '0 1 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
env:
HUSKY: 0
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: enable corepack
run: corepack enable
- name: install deps
run: pnpm install
- name: lint
run: pnpm lint
build:
runs-on: ubuntu-latest
needs:
- lint
permissions:
contents: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: binary-builder
uses: containerbase/internal-tools@72750e92d57f4ec2412af2f4f63f57eafa626bb4 # v3.4.42
with:
command: binary-builder
dry-run: ${{github.ref_name != 'main'}}
token: ${{ secrets.GITHUB_TOKEN }}