Skip to content

Commit

Permalink
fix Publish action (include package.json) (#2)
Browse files Browse the repository at this point in the history
* fix Publish action (include package.json)
* v0.0.1 prevent versioning from the local machine
  • Loading branch information
kedoska authored Sep 13, 2020
1 parent 5ecb505 commit 5d290c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Publish
run: |
cp ./README.md ./lib
cp ./package.json ./lib
cd ./lib
npm publish --access public
shell: bash
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
{
"name": "@kedoska/resty",
"version": "1.0.29",
"version": "0.0.1",
"description": "An API interface to build games (and other stuff).",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest --config jestconfig.json",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json",
"preversion": "./before-publish.sh",
"version": "git add .",
"postversion": "git push && git push --tags && rm -rf lib"
"lint": "tslint -p tsconfig.json"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5d290c9

Please sign in to comment.