@kununu/stylelint-config 3.0.1-beta.4 → 3.0.2

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,58 @@
1
+ name: Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ description: 'Semver version (major / minor / patch)'
8
+
9
+ required: true
10
+ type: choice
11
+ options:
12
+ - patch
13
+ - minor
14
+ - major
15
+
16
+ env:
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18
+ NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
19
+
20
+ jobs:
21
+ release:
22
+ runs-on: ubuntu-latest
23
+
24
+ steps:
25
+ - name: Checkout Source
26
+ uses: actions/checkout@v3
27
+ with:
28
+ fetch-depth: 0
29
+ token: ${{ secrets.KUNUNU_BOT_GITHUB_TOKEN }}
30
+
31
+ - name: Setup Node
32
+ uses: actions/setup-node@v3
33
+ with:
34
+ node-version: '16'
35
+ cache: 'npm'
36
+
37
+ - name: Setup git
38
+ run: |
39
+ git config user.name "kununu-bot"
40
+ git config user.email "technik@kununu.com"
41
+
42
+ - name: Install Packages
43
+ run: npm ci
44
+
45
+ - name: Bump Package Version
46
+ run: |
47
+ npm version ${{ github.event.inputs.version }}
48
+
49
+ - name: Publish
50
+ run: |
51
+ npm publish
52
+
53
+ - name: Create Github Release
54
+ run: |
55
+ gh release create $(sed -nr 's/^\s*\"version": "([0-9]{1,}\.[0-9]{1,}.*)",$/\1/p' package.json) --generate-notes
56
+
57
+ - name: Push Version Changes
58
+ run: git push origin ${GITHUB_REF##*/} --follow-tags
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kununu/stylelint-config",
3
- "version": "3.0.1-beta.4",
3
+ "version": "3.0.2",
4
4
  "description": "kununu's stylelint config",
5
5
  "author": "kununu",
6
6
  "license": "ISC",