Skip to content
This repository was archived by the owner on Aug 4, 2022. It is now read-only.

Commit dae84ca

Browse files
authored
Merge pull request #16 from secure-rm/develop
v4.0.1
2 parents e6fb22c + 7c5042c commit dae84ca

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Generate coverage report
4848
run: |
49-
npm install
49+
npm ci
5050
npm run build
5151
npm run coverage
5252

.github/workflows/npmpublish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212
- uses: actions/setup-node@v1
1313
with:
1414
node-version: 12
15-
- run: npm install
15+
- run: npm ci
1616
- run: npm run build
17+
- run: npm test
1718

1819
publish-npm:
1920
needs: build
@@ -24,6 +25,7 @@ jobs:
2425
with:
2526
node-version: 12
2627
registry-url: https://registry.npmjs.org/
28+
- run: npm ci
2729
- run: npm publish
2830
env:
2931
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -38,6 +40,7 @@ jobs:
3840
node-version: 12
3941
registry-url: https://npm.pkg.github.com/
4042
scope: '@your-github-username'
43+
- run: npm ci
4144
- run: npm publish
4245
env:
4346
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414

1515
<!-- ## [Unreleased] -->
1616

17+
## [4.0.1] - 2019-10-27
18+
19+
### Added
20+
21+
- Npm auto publisher.
22+
1723
## [4.0.0] - 2019-10-27
1824

1925
### Added

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "secure-rm",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "Completely erases files by making recovery impossible.",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
@@ -12,8 +12,8 @@
1212
"coverage": "jest --coverage --coverageDirectory=./coverage",
1313
"test": "jest --verbose",
1414
"watch-test": "npm run test -- --watchAll",
15-
"clean": "rimraf dist coverage node_modules",
16-
"prepack": "npm i && npm run clean && npm run build"
15+
"clean": "rimraf dist coverage",
16+
"prepack": "npm run clean && npm run build"
1717
},
1818
"dependencies": {
1919
"rimraf": "^3.0.0",

0 commit comments

Comments
 (0)