Skip to content

Include Bootstrap inside codebase #1812

Include Bootstrap inside codebase

Include Bootstrap inside codebase #1812

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Lint code and commits
jobs:
lint-code:
runs-on: ubuntu-latest
container:
image: timbru31/ruby-node:3.0-20
steps:
- uses: actions/checkout@v3
- run: chmod -R 777 .
- run: npm ci
- run: npm run lint-js
- run: npm run lint-scss
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fixup git permissions
# https://github.com/actions/checkout/issues/766
shell: bash
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/setup-node@v2.1.0
- run: npm install @commitlint/cli
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD