Skip to content

build(deps): bump micromatch and lint-staged #384

build(deps): bump micromatch and lint-staged

build(deps): bump micromatch and lint-staged #384

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master, stage]
jobs:
commitlint:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lints Pull Request commits
uses: wagoid/commitlint-github-action@v5
lint:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
- name: Install npm dependencies
run: npm ci
- name: Build dist
run: npm run build
- name: Lint code
run: npm run lint