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

Commit

Permalink
Merge pull request #16 from secure-rm/develop
Browse files Browse the repository at this point in the history
v4.0.1
  • Loading branch information
SteelAlloy committed Oct 27, 2019
2 parents e6fb22c + 7c5042c commit dae84ca
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Generate coverage report
run: |
npm install
npm ci
npm run build
npm run coverage
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm ci
- run: npm run build
- run: npm test

publish-npm:
needs: build
Expand All @@ -24,6 +25,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand All @@ -38,6 +40,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@your-github-username'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [4.0.1] - 2019-10-27

### Added

- Npm auto publisher.

## [4.0.0] - 2019-10-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "secure-rm",
"version": "4.0.0",
"version": "4.0.1",
"description": "Completely erases files by making recovery impossible.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -12,8 +12,8 @@
"coverage": "jest --coverage --coverageDirectory=./coverage",
"test": "jest --verbose",
"watch-test": "npm run test -- --watchAll",
"clean": "rimraf dist coverage node_modules",
"prepack": "npm i && npm run clean && npm run build"
"clean": "rimraf dist coverage",
"prepack": "npm run clean && npm run build"
},
"dependencies": {
"rimraf": "^3.0.0",
Expand Down

0 comments on commit dae84ca

Please sign in to comment.