Skip to content

Commit ca479b1

Browse files
ci: Add a simple quality workflow which should run on all branches
1 parent 05478d0 commit ca479b1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/quality.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Quality # Don't change this value without updating release.yml; name must match to chain workflows
2+
3+
on:
4+
pull_request: # Run this workflow for all pull request changes
5+
types:
6+
- opened
7+
- reopened
8+
- edited
9+
workflow_dispatch: # Allows manual triggering of this workflow
10+
11+
jobs:
12+
quality:
13+
runs-on: ubuntu-latest
14+
if: ${{ !contains(github.event.head_commit.message, '[ci-skip]') }}
15+
steps:
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-node@v6
18+
with:
19+
node-version: 24
20+
registry-url: 'https://registry.npmjs.org'
21+
- name: Update npm
22+
run: npm install -g npm@latest
23+
- name: Install npm dependencies
24+
run: npm ci
25+
env:
26+
HUSKY: 0
27+
- name: Run quality checks
28+
run: npm run quality
29+
- name: Build project
30+
run: npm run build

0 commit comments

Comments
 (0)