Skip to content

Commit

Permalink
chore: rename test-on-main workflow to validate-main
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jun 24, 2024
1 parent e622666 commit 398d51a
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
name: Test Main Branch
name: Validate Main Branch

on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'src/**/*'
- 'package.json'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: pnpm
- name: Lint Commit Messages
run: pnpm dlx commitlint --from $(git describe --tags --abbrev=0)
- run: pnpm lint
test:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 398d51a

Please sign in to comment.