spoko-design-system 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name: Code Quality
|
|
1
|
+
name: Code Quality & Analysis
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -36,4 +36,37 @@ jobs:
|
|
|
36
36
|
run: pnpm run lint
|
|
37
37
|
|
|
38
38
|
- name: Type check
|
|
39
|
-
run: pnpm run check
|
|
39
|
+
run: pnpm run check
|
|
40
|
+
|
|
41
|
+
sonarcloud:
|
|
42
|
+
name: SonarCloud Analysis
|
|
43
|
+
runs-on: ubuntu-latest
|
|
44
|
+
|
|
45
|
+
steps:
|
|
46
|
+
- name: Checkout code
|
|
47
|
+
uses: actions/checkout@v5
|
|
48
|
+
with:
|
|
49
|
+
fetch-depth: 0 # Shallow clones should be disabled for better analysis
|
|
50
|
+
|
|
51
|
+
- name: Setup pnpm
|
|
52
|
+
uses: pnpm/action-setup@v4
|
|
53
|
+
with:
|
|
54
|
+
version: 10.17.1
|
|
55
|
+
|
|
56
|
+
- name: Setup Node.js
|
|
57
|
+
uses: actions/setup-node@v5
|
|
58
|
+
with:
|
|
59
|
+
node-version: '22'
|
|
60
|
+
cache: 'pnpm'
|
|
61
|
+
|
|
62
|
+
- name: Install dependencies
|
|
63
|
+
run: pnpm install --frozen-lockfile
|
|
64
|
+
|
|
65
|
+
- name: Build project
|
|
66
|
+
run: pnpm run build
|
|
67
|
+
|
|
68
|
+
- name: SonarCloud Scan
|
|
69
|
+
uses: SonarSource/sonarcloud-github-action@master
|
|
70
|
+
env:
|
|
71
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
|
72
|
+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
name: SonarCloud Analysis
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ main ]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: [ main ]
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
sonarcloud:
|
|
11
|
-
name: SonarCloud
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v5
|
|
15
|
-
with:
|
|
16
|
-
fetch-depth: 0 # Shallow clones should be disabled for better analysis
|
|
17
|
-
|
|
18
|
-
- name: Setup pnpm
|
|
19
|
-
uses: pnpm/action-setup@v4
|
|
20
|
-
with:
|
|
21
|
-
version: 10.17.1
|
|
22
|
-
|
|
23
|
-
- name: Setup Node.js
|
|
24
|
-
uses: actions/setup-node@v5
|
|
25
|
-
with:
|
|
26
|
-
node-version: '22'
|
|
27
|
-
cache: 'pnpm'
|
|
28
|
-
|
|
29
|
-
- name: Install dependencies
|
|
30
|
-
run: pnpm install --frozen-lockfile
|
|
31
|
-
|
|
32
|
-
- name: Build project
|
|
33
|
-
run: pnpm run build
|
|
34
|
-
|
|
35
|
-
- name: SonarCloud Scan
|
|
36
|
-
uses: SonarSource/sonarcloud-github-action@master
|
|
37
|
-
env:
|
|
38
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
|
39
|
-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|