@suffolklitlab/alkiln 4.1.1 → 4.2.0
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_tests.yml +3 -3
- package/CHANGELOG.md +7 -0
- package/action.yml +1 -1
- package/lib/scope.js +1 -1
- package/lib/steps.js +1 -1
- package/package.json +11 -11
|
@@ -78,12 +78,12 @@ jobs:
|
|
|
78
78
|
with:
|
|
79
79
|
name: report
|
|
80
80
|
path: ./**/*_report_*
|
|
81
|
-
- name:
|
|
81
|
+
- name: upload debug_log artifact
|
|
82
82
|
uses: actions/upload-artifact@v2
|
|
83
83
|
if: ${{ always() }}
|
|
84
84
|
with:
|
|
85
|
-
name:
|
|
86
|
-
path: ./
|
|
85
|
+
name: debug_log file
|
|
86
|
+
path: ./debug_log.txt
|
|
87
87
|
- name: Cleanup
|
|
88
88
|
if: ${{ always() }}
|
|
89
89
|
run: npm run takedown
|
package/CHANGELOG.md
CHANGED
|
@@ -39,6 +39,13 @@ Format:
|
|
|
39
39
|
-
|
|
40
40
|
-->
|
|
41
41
|
<!-- ## [Unreleased] -->
|
|
42
|
+
|
|
43
|
+
## [4.2.0] - 2022-04-05
|
|
44
|
+
### Changed
|
|
45
|
+
- Pin versions of dependencies in action.yml and package.json
|
|
46
|
+
- Change log.txt file to debug_log.txt and upload as github artifact.
|
|
47
|
+
- Update cheerio version to remove vulnerabilities.
|
|
48
|
+
|
|
42
49
|
## [4.1.1] - 2022-04-01
|
|
43
50
|
### Added
|
|
44
51
|
- Step to set vars to secret variables. That is, using environment variables while hiding the names of those variables in the report, errors, and console logs.
|
package/action.yml
CHANGED
package/lib/scope.js
CHANGED
|
@@ -60,7 +60,7 @@ module.exports = {
|
|
|
60
60
|
let scenario = await scope.makeSureReportPartsExist( scope );
|
|
61
61
|
scenario.lines.push({ type, value });
|
|
62
62
|
|
|
63
|
-
fs.appendFileSync('
|
|
63
|
+
fs.appendFileSync('debug_log.txt', `Report:\ntype: ${ type }, value: ${ value }`);
|
|
64
64
|
return scenario;
|
|
65
65
|
|
|
66
66
|
}, // Ends scope.addToReport()
|
package/lib/steps.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suffolklitlab/alkiln",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/automated_integrated_testing/",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@cucumber/cucumber": "
|
|
38
|
-
"axios": "
|
|
39
|
-
"chai": "
|
|
40
|
-
"cheerio": "
|
|
41
|
-
"dotenv": "
|
|
42
|
-
"mocha": "
|
|
43
|
-
"puppeteer": "
|
|
44
|
-
"qs": "
|
|
45
|
-
"sanitize-filename": "
|
|
46
|
-
"uuid": "
|
|
37
|
+
"@cucumber/cucumber": "7.3.2",
|
|
38
|
+
"axios": "0.24.0",
|
|
39
|
+
"chai": "4.2.0",
|
|
40
|
+
"cheerio": "1.0.0-rc.10",
|
|
41
|
+
"dotenv": "8.2.0",
|
|
42
|
+
"mocha": "9.2.0",
|
|
43
|
+
"puppeteer": "13.1.3",
|
|
44
|
+
"qs": "6.10.2",
|
|
45
|
+
"sanitize-filename": "1.6.3",
|
|
46
|
+
"uuid": "8.3.2"
|
|
47
47
|
},
|
|
48
48
|
"bin": {
|
|
49
49
|
"alkiln-setup": "./lib/docassemble/setup.js",
|