-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (35 loc) · 829 Bytes
/
ci.yml
File metadata and controls
39 lines (35 loc) · 829 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
32
33
34
35
36
37
38
39
name: Continuous Integration
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Installing project dependencies
run: |
npm ci
- name: Format
run: |
npm run format:check
- name: Lint
run: |
npm run lint
- name: Test
run: |
npm run test
- name: Build Storybook
run: |
npm run story:build
- name: Build Project
run: |
npm run build
- name: Commitlint Check
if: github.event_name == 'push'
run: npm run commit:lint