Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Jan 20, 2024
1 parent 659e0c2 commit d313743
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/commitlint.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,30 @@ on:
pull_request:
push:


jobs:
lint:
runs-on: buildjet-2vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20.10.0
cache: yarn
- name: npm install
run: node build/reset-workspaces.js && yarn
- name: Lint commit messages
run: ./node_modules/.bin/commitlint --from $BASE_SHA --to $HEAD_SHA --verbose
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
- name: Lint pull request title
run: echo $PR_TITLE | npx commitlint --verbose
env:
PR_TITLE: ${{ github.event.pull_request.title }}

unit-tests:
runs-on: buildjet-2vcpu-ubuntu-2004
strategy:
Expand Down

0 comments on commit d313743

Please sign in to comment.