-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (29 loc) · 977 Bytes
/
quality.yml
File metadata and controls
31 lines (29 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Quality
on:
pull_request: # Run this workflow for all pull request changes
types:
- opened
- reopened
- synchronize
repository_dispatch: # Run this workflow when base branch updates
types: [base_branch_updated]
jobs:
quality:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci-skip]') }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci
env:
HUSKY: 0 # Disable husky within CI/CD
- name: Run quality checks
run: npm run quality
- name: Build project
run: npm run build