Skip to content

Commit

Permalink
Add npm prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
t-richard committed Jun 22, 2021
1 parent 6364ad5 commit cc3e319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- run: npm ci
- run: npm version $RELEASE_VERSION --no-git-tag-version
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
"type": "tsc --noEmit",
"build": "etsc",
"watch": "nodemon",
"test": "jest"
"test": "jest",
"prepare": "etsc"
},
"types": "lib/index.d.ts"
}

0 comments on commit cc3e319

Please sign in to comment.