purifier-card 2.4.0 → 2.4.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.
|
@@ -3,21 +3,32 @@ on:
|
|
|
3
3
|
push:
|
|
4
4
|
branches:
|
|
5
5
|
- master
|
|
6
|
+
|
|
7
|
+
concurrency:
|
|
8
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
9
|
+
cancel-in-progress: true
|
|
10
|
+
|
|
6
11
|
jobs:
|
|
7
12
|
release:
|
|
8
13
|
name: Prepare release
|
|
9
14
|
runs-on: ubuntu-latest
|
|
10
15
|
steps:
|
|
11
|
-
-
|
|
16
|
+
- name: ⬇️ Checkout Repo
|
|
17
|
+
uses: actions/checkout@v3
|
|
18
|
+
|
|
19
|
+
- name: ⬢ Setup Node.js
|
|
20
|
+
uses: actions/setup-node@v3
|
|
21
|
+
with:
|
|
22
|
+
node-version: '*'
|
|
23
|
+
cache: npm
|
|
24
|
+
|
|
25
|
+
- name: 📦 Install Packages
|
|
26
|
+
run: npm ci
|
|
12
27
|
|
|
13
|
-
- name: Build
|
|
14
|
-
run:
|
|
15
|
-
cd /home/runner/work/purifier-card/purifier-card
|
|
16
|
-
npm install
|
|
17
|
-
npm run lint
|
|
18
|
-
npm run build
|
|
28
|
+
- name: 🏗 Build
|
|
29
|
+
run: npm run build
|
|
19
30
|
|
|
20
|
-
- name: Release
|
|
31
|
+
- name: 🚀 Release
|
|
21
32
|
run: npx semantic-release
|
|
22
33
|
env:
|
|
23
34
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Stale
|
|
2
|
+
on:
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: '0 * * * *'
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
issues: write # to close stale issues (actions/stale)
|
|
9
|
+
pull-requests: write # to close stale PRs (actions/stale)
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
stale:
|
|
13
|
+
name: Stale
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- name: 🧹 Clean stale issues and pull requests
|
|
17
|
+
uses: actions/stale@v8
|
|
18
|
+
with:
|
|
19
|
+
stale-issue-message: >
|
|
20
|
+
There hasn't been any activity on this issue recently.
|
|
21
|
+
This issue has now been marked as stale and will be closed if no further activity occurs.
|
|
22
|
+
Please, update to the latest version and check if that solves the issue.
|
|
23
|
+
Thank you for your contributions!
|
|
24
|
+
close-issue-message: >
|
|
25
|
+
This issue was closed because it has been stalled for 30 days with no activity.
|
|
26
|
+
Please open a new issue if the issue is still relevant, linking to this one.
|
|
27
|
+
stale-pr-message: >
|
|
28
|
+
This PR is stale because there hasn't been any activity for a long time.
|
|
29
|
+
close-pr-message: >
|
|
30
|
+
This PR was closed because it has been stalled for 30 days with no activity.
|
|
31
|
+
days-before-issue-stale: 60
|
|
32
|
+
days-before-pr-stale: 90
|
|
33
|
+
days-before-issue-close: 30
|
|
34
|
+
days-before-pr-close: 30
|
|
35
|
+
exempt-all-milestones: true
|
|
36
|
+
stale-issue-label: stale
|
|
37
|
+
stale-pr-label: stale
|
|
38
|
+
exempt-issue-labels: no-stale
|
|
39
|
+
exempt-pr-labels: no-stale
|
|
40
|
+
exempt-draft-pr: true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Validate
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
concurrency:
|
|
7
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
8
|
+
cancel-in-progress: true
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
validate:
|
|
12
|
+
name: Validate
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- name: ⬇️ Checkout Repo
|
|
16
|
+
uses: actions/checkout@v3
|
|
17
|
+
|
|
18
|
+
- name: ⬢ Setup Node.js
|
|
19
|
+
uses: actions/setup-node@v3
|
|
20
|
+
with:
|
|
21
|
+
node-version: '*'
|
|
22
|
+
cache: npm
|
|
23
|
+
|
|
24
|
+
- name: 📦 Install Packages
|
|
25
|
+
run: npm ci
|
|
26
|
+
|
|
27
|
+
- name: 🧪 Test
|
|
28
|
+
run: npm test
|
|
29
|
+
|
|
30
|
+
- name: 👷 HACS validation
|
|
31
|
+
uses: hacs/action@main
|
|
32
|
+
with:
|
|
33
|
+
category: plugin
|