@transfermarkt/global-styles 1.7.7 → 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.
- package/.github/workflows/publish-on-npm.yml +35 -0
- package/bun.lockb +0 -0
- package/package.json +1 -1
|
@@ -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