Skip to content

Commit

Permalink
Merge pull request #3 from impargo/feature/dev-273
Browse files Browse the repository at this point in the history
feat: adapt release and publish workflow
  • Loading branch information
david-paulus-saad authored Oct 2, 2023
2 parents 2461006 + 9b7508d commit 56c55fb
Show file tree
Hide file tree
Showing 4 changed files with 2,586 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: 18
node-version: 18.17
registry-url: https://npm.pkg.github.com/
- uses: actions/checkout@v2
- name: check if the package already exist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
node-version: 18.17
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_ACCESS_TOKEN }}
Expand Down
27 changes: 19 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,25 @@
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
["@semantic-release/npm", {
"npmPublish": false
}],
["@semantic-release/git", {
"assets": ["package.json", "yarn.lock"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}]
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"yarn.lock"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"repository": {
Expand Down Expand Up @@ -64,6 +73,7 @@
},
"devDependencies": {
"@commitlint/config-conventional": "^17.7.0",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
Expand All @@ -77,6 +87,7 @@
"nock": "^13.0.7",
"np": "^7.5.0",
"prettier": "^2.2.1",
"semantic-release": "^22.0.5",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
Expand Down
Loading

0 comments on commit 56c55fb

Please sign in to comment.