Skip to content

chore: replace husky with pre-commit ensure dist integrity #939

chore: replace husky with pre-commit ensure dist integrity

chore: replace husky with pre-commit ensure dist integrity #939

Workflow file for this run

name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run lint
- run: npm run test
dist-integrity:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Build action
run: |
npm ci &&
npm run build
- name: Dist Integrity Check
run: |
git diff --quiet dist
automerge:
needs:
- build
- dist-integrity
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@main
with:
github-token: ${{ github.token }}
target: minor