Skip to content

feat: Configure semantic release #4463

feat: Configure semantic release

feat: Configure semantic release #4463

Workflow file for this run

# for debugging https://github.com/marketplace/actions/debugging-with-tmate
name: Lint
on:
push:
branches:
- "master"
pull_request:
branches:
- "*"
merge_group:
jobs:
cancel_previous_run:
name: Cancel Previous Run
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- name: cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
lint:
name: Lint
timeout-minutes: 10
runs-on: macos-latest
steps:
# # https://docs.github.com/en/actions/learn-github-actions/contexts
# - name: Dump GitHub env
# env:
# GITHUB_CONTEXT: ${{ toJson(github) }}
# ENV_CONTEXT: ${{ toJson(env) }}
# VARS_CONTEXT: ${{ toJson(vars) }}
# JOB_CONTEXT: ${{ toJson(job) }}
# # JOBS_CONTEXT: ${{ toJson(jobs) }}
# STEPS_CONTEXT: ${{ toJson(steps) }}
# RUNNER_CONTEXT: ${{ toJson(runner) }}
# SECRETS_CONTEXT: ${{ toJson(secrets) }}
# STRATEGY_CONTEXT: ${{ toJson(strategy) }}
# MATRIX_CONTEXT: ${{ toJson(matrix) }}
# NEEDS_CONTEXT: ${{ toJson(needs) }}
# INPUTS_CONTEXT: ${{ toJson(inputs) }}
# run: env
- name: Checkout repository
uses: actions/checkout@v4
- name: Install devbox
uses: jetpack-io/[email protected]
with:
enable-cache: "true"
- name: Run linters
run: devbox run lefthook run all