Skip to content

feat(cabin): add remote registry publish behind -Z remote-registry #1156

feat(cabin): add remote registry publish behind -Z remote-registry

feat(cabin): add remote registry publish behind -Z remote-registry #1156

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
permissions:
contents: read
env:
CLICOLOR: 1
jobs:
spelling:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v7
- uses: crate-ci/typos@v1.48.0
# actionlint:
# runs-on: ubuntu-slim
# steps:
# - uses: actions/checkout@v7
#
# - name: Download actionlint
# id: get_actionlint
# run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
# shell: bash
#
# - name: Check workflow files
# run: ${{ steps.get_actionlint.outputs.executable }} -color
# shell: bash
# env:
# SHELLCHECK_OPTS: --exclude=SC2016
commitlint:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: lts/*
- name: Install commitlint
run: npm install -D @commitlint/cli @commitlint/config-conventional
- name: Setup commitlint
run: |
echo "export default { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
- name: Print versions
run: |
git --version
node --version
npm --version
npx commitlint --version
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: npx commitlint --last --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose