Skip to content

Commit

Permalink
Added actions
Browse files Browse the repository at this point in the history
  • Loading branch information
etoxin committed Feb 23, 2021
1 parent d702f13 commit 91710ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: push

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "cryptolist",
"version": "1.1.1",
"version": "1.1.2",
"description": "Lists the top ten Crypto currency prices.",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"test": "echo \"Error: no test specified\"",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
Expand Down

0 comments on commit 91710ae

Please sign in to comment.