Skip to content

Commit

Permalink
fix: release from /dist
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jun 25, 2021
1 parent ba1ee43 commit 8858183
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 71 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: |
npm install --no-progress
npm install --no-progress --no-package-lock
- name: Run tests
run: |
npm test
Expand All @@ -37,7 +37,7 @@ jobs:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: |
npm install --no-progress
npm install --no-progress --no-package-lock
- name: Run tests
run: |
npm run test:node
Expand Down
95 changes: 26 additions & 69 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,78 +52,35 @@
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{"breaking": true, "release": "major"},
{"revert": true, "release": "patch"},
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "docs", "release": "patch"},
{"type": "test", "release": "patch"},
{"scope": "no-release", "release": false}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "chore", "section": "Trivial Changes"},
{"type": "docs", "section": "Trivial Changes"},
{"type": "test", "section": "Tests"}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Trivial Changes"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
}],
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/npm", {
"pkgRoot": "dist"
}],
"@semantic-release/github",
"@semantic-release/git"
]
Expand Down

0 comments on commit 8858183

Please sign in to comment.