Skip to content

feat: add command support beta package #330

feat: add command support beta package

feat: add command support beta package #330

Workflow file for this run

name: Commitlint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
commitlint:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout codebase
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
run_install: false
- name: Setup node
uses: actions/setup-node@v3
with:
cache: 'pnpm'
check-latest: true
node-version-file: '.nvmrc'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run commitlint
id: run_commitlint
uses: wagoid/commitlint-github-action@v5
with:
configFile: .commitlintrc.js
env:
NODE_PATH: ${{ github.workspace }}/node_modules
- name: Show outputs
if: ${{ always() }}
run: echo ${{ toJSON(steps.run_commitlint.outputs.results) }}