polendina 1.1.0 → 1.1.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.
- package/.github/workflows/test-and-release.yml +58 -0
- package/CHANGELOG.md +11 -0
- package/package.json +83 -2
- package/.github/workflows/main.yml +0 -21
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: Test & Maybe Release
|
|
2
|
+
on: [push, pull_request]
|
|
3
|
+
jobs:
|
|
4
|
+
test:
|
|
5
|
+
strategy:
|
|
6
|
+
fail-fast: false
|
|
7
|
+
matrix:
|
|
8
|
+
node: [14.x, 16.x]
|
|
9
|
+
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
10
|
+
runs-on: ${{ matrix.os }}
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout Repository
|
|
13
|
+
uses: actions/checkout@v2.3.4
|
|
14
|
+
- name: Use Node.js ${{ matrix.node }}
|
|
15
|
+
uses: actions/setup-node@v2.4.0
|
|
16
|
+
with:
|
|
17
|
+
node-version: ${{ matrix.node }}
|
|
18
|
+
- name: Install Dependencies
|
|
19
|
+
run: |
|
|
20
|
+
npm install --no-progress
|
|
21
|
+
- name: Run tests
|
|
22
|
+
run: |
|
|
23
|
+
npm config set script-shell bash
|
|
24
|
+
npm test
|
|
25
|
+
release:
|
|
26
|
+
name: Release
|
|
27
|
+
needs: test
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
30
|
+
steps:
|
|
31
|
+
- name: Checkout
|
|
32
|
+
uses: actions/checkout@v2.3.4
|
|
33
|
+
with:
|
|
34
|
+
fetch-depth: 0
|
|
35
|
+
- name: Setup Node.js
|
|
36
|
+
uses: actions/setup-node@v2.4.0
|
|
37
|
+
with:
|
|
38
|
+
node-version: 14
|
|
39
|
+
- name: Install dependencies
|
|
40
|
+
run: |
|
|
41
|
+
npm install --no-progress --no-package-lock --no-save
|
|
42
|
+
- name: Install plugins
|
|
43
|
+
run: |
|
|
44
|
+
npm install \
|
|
45
|
+
@semantic-release/commit-analyzer \
|
|
46
|
+
conventional-changelog-conventionalcommits \
|
|
47
|
+
@semantic-release/release-notes-generator \
|
|
48
|
+
@semantic-release/npm \
|
|
49
|
+
@semantic-release/github \
|
|
50
|
+
@semantic-release/git \
|
|
51
|
+
@semantic-release/changelog \
|
|
52
|
+
--no-progress --no-package-lock --no-save
|
|
53
|
+
- name: Release
|
|
54
|
+
env:
|
|
55
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
56
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
57
|
+
run: npx semantic-release
|
|
58
|
+
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
### [1.1.1](https://github.com/rvagg/polendina/compare/v1.1.0...v1.1.1) (2021-12-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* no build step for release ([b91faf0](https://github.com/rvagg/polendina/commit/b91faf08395e6f8bc44b21d02d94c2136bcac942))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Trivial Changes
|
|
10
|
+
|
|
11
|
+
* add auto-releases ([#17](https://github.com/rvagg/polendina/issues/17)) ([9e71246](https://github.com/rvagg/polendina/commit/9e71246667ba96d8253aa180271728b35e700b45))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polendina",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Non-UI browser testing for JavaScript libraries from the command-line",
|
|
5
5
|
"main": "polendina.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -41,5 +41,86 @@
|
|
|
41
41
|
"test"
|
|
42
42
|
],
|
|
43
43
|
"author": "Rod <rod@vagg.org> (http://r.va.gg/)",
|
|
44
|
-
"license": "Apache-2.0"
|
|
44
|
+
"license": "Apache-2.0",
|
|
45
|
+
"release": {
|
|
46
|
+
"branches": [
|
|
47
|
+
"master"
|
|
48
|
+
],
|
|
49
|
+
"plugins": [
|
|
50
|
+
[
|
|
51
|
+
"@semantic-release/commit-analyzer",
|
|
52
|
+
{
|
|
53
|
+
"preset": "conventionalcommits",
|
|
54
|
+
"releaseRules": [
|
|
55
|
+
{
|
|
56
|
+
"breaking": true,
|
|
57
|
+
"release": "major"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"revert": true,
|
|
61
|
+
"release": "patch"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "feat",
|
|
65
|
+
"release": "minor"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "fix",
|
|
69
|
+
"release": "patch"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "chore",
|
|
73
|
+
"release": "patch"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "docs",
|
|
77
|
+
"release": "patch"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "test",
|
|
81
|
+
"release": "patch"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"scope": "no-release",
|
|
85
|
+
"release": false
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
[
|
|
91
|
+
"@semantic-release/release-notes-generator",
|
|
92
|
+
{
|
|
93
|
+
"preset": "conventionalcommits",
|
|
94
|
+
"presetConfig": {
|
|
95
|
+
"types": [
|
|
96
|
+
{
|
|
97
|
+
"type": "feat",
|
|
98
|
+
"section": "Features"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "fix",
|
|
102
|
+
"section": "Bug Fixes"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "chore",
|
|
106
|
+
"section": "Trivial Changes"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "docs",
|
|
110
|
+
"section": "Trivial Changes"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "test",
|
|
114
|
+
"section": "Tests"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"@semantic-release/changelog",
|
|
121
|
+
"@semantic-release/npm",
|
|
122
|
+
"@semantic-release/github",
|
|
123
|
+
"@semantic-release/git"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
45
126
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on: [push, pull_request]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
build:
|
|
7
|
-
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
|
|
10
|
-
steps:
|
|
11
|
-
- name: Checkout
|
|
12
|
-
uses: actions/checkout@v1
|
|
13
|
-
with:
|
|
14
|
-
fetch-depth: 1
|
|
15
|
-
|
|
16
|
-
- name: Install and test
|
|
17
|
-
uses: actions/setup-node@v1
|
|
18
|
-
with:
|
|
19
|
-
node-version: '12.x'
|
|
20
|
-
- run: npm install
|
|
21
|
-
- run: npm test
|