Skip to content

Commit

Permalink
Merge pull request #29 from elifesciences/rename-prepublish-to-build
Browse files Browse the repository at this point in the history
Rename prepublish script to build to avoid autorun on yarn
  • Loading branch information
scottaubrey authored Aug 2, 2023
2 parents 7391449 + a41f381 commit 04e9931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
cache: yarn
registry-url: 'https://npm.pkg.github.com'
- run: yarn
- run: yarn prepublish
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"fetch-and-test-data-hub-docmap": "ts-node src/fetch-and-parse.ts",
"test": "jest",
"lint": "eslint --ext .tsx,.ts src/",
"prepublish": "tsc"
"build": "tsc"
},
"dependencies": {
"@tsconfig/node18": "^1.0.1",
Expand Down

0 comments on commit 04e9931

Please sign in to comment.