Skip to content

Commit

Permalink
chore: fix runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lyricalsoul committed Feb 8, 2023
1 parent 0a9ccec commit 9299920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@musicorum-app'
- run: cd lib && npm ci
- run: cd lib && npm run build
- run: cd lib && npm publish
- run: yarn
- run: yarn publish lib
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "cp ../README.md ./README.md"
"prepublish": "tsc && cp ../README.md ./README.md"
},
"engines": {
"node": ">=17.5.0"
Expand Down

0 comments on commit 9299920

Please sign in to comment.