@transfermarkt/global-styles 1.7.6 → 1.7.8

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.
@@ -0,0 +1,35 @@
1
+ name: Release to NPM
2
+ on: [push]
3
+ jobs:
4
+ Release-to-NPM:
5
+ runs-on: ubuntu-latest
6
+ container:
7
+ image: bitnami/node:22
8
+ steps:
9
+ # Checkout the repository
10
+ - name: Check out repository
11
+ uses: actions/checkout@v4
12
+
13
+ # Setup Node with pinned node.js version through package.json (volta.node)
14
+ - name: Setup Bun
15
+ uses: oven-sh/setup-bun@v2
16
+ with:
17
+ bun-version: latest
18
+
19
+ - name: Install dependencies
20
+ run: bun i
21
+
22
+ # Lint SCSS files
23
+ - name: Linting scss files
24
+ run: bun run lint
25
+
26
+ # Run semantic-release
27
+ - name: Semantic Release Action
28
+ id: semantic
29
+ uses: codfish/semantic-release-action@v3
30
+ with:
31
+ repository-url: ${{ gitea.event.repository.html_url }}
32
+
33
+ env:
34
+ GITEA_TOKEN: ${{ secrets.RELEASE_USER_TOKEN }}
35
+ NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/bun.lockb ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transfermarkt/global-styles",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "description": "Shared styles and Global configuration for stylelint rules of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "style": "scss/index.scss",
9
9
  "scripts": {
10
10
  "lint": "stylelint 'scss/**/*.{css,scss}'",
11
- "prepare": "husky install",
11
+ "prepare": "husky",
12
12
  "test": "echo \"Error: no test specified\" && exit 1"
13
13
  },
14
14
  "volta": {