Skip to content

feat: add status bar #24

feat: add status bar

feat: add status bar #24

Workflow file for this run

name: "CI - Pull Request: Build, Test & Lint"
on:
pull_request:
branches:
- master
paths-ignore:
- "**/*.md"
permissions: {}
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: Install zizmor
run: |
pipx install zizmor
- name: Setup Node.js environment
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: .nvmrc
package-manager-cache: false
- name: Install dependencies
run: |
npm ci
- name: Build
run: |
npm run build
- name: Test
run: |
npm run test
- name: Lint code
run: |
npm run lint:all
- name: Lint commit
run: |
if [[ "${BASE_SHA}" = "0000000000000000000000000000000000000000" ]]; then
npx commitlint --to HEAD --verbose
else
npx commitlint --from "${BASE_SHA}" --to "${HEAD_SHA}" --verbose
fi
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}