Skip to content

Commit

Permalink
fix: build issue where full path of dist/library folder is pushed to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
uzenith360 committed Jan 28, 2023
1 parent 1ee114f commit da678a8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
- name: Install dependencies
run: npx ci
# run: npm ci
- name: Install semantic-release extra plugins
run: npm install --save-dev @semantic-release/changelog @semantic-release/git
# - name: Install semantic-release extra plugins
# run: npm install --save-dev @semantic-release/changelog @semantic-release/git
- name: Install semantic-release-monorepo
run: npm install -D semantic-release-monorepo
run: npm install -D semantic-release semantic-release-monorepo
# - name: Lint
# run: npm run lint-fix
# Redundant cos tests workflow has already been run
Expand Down
38 changes: 19 additions & 19 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ module.exports = {
prerelease: true
}
],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md'
}
],
'@semantic-release/npm',
'@semantic-release/github',
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'dist/**'],
message: 'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}
]
],
// plugins: [
// '@semantic-release/commit-analyzer',
// '@semantic-release/release-notes-generator',
// [
// '@semantic-release/changelog',
// {
// changelogFile: 'CHANGELOG.md'
// }
// ],
// '@semantic-release/npm',
// '@semantic-release/github',
// [
// '@semantic-release/git',
// {
// assets: ['CHANGELOG.md', 'dist/**'],
// message: 'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
// }
// ]
// ],
"extends": "semantic-release-monorepo"
}

0 comments on commit da678a8

Please sign in to comment.