Skip to content

Commit

Permalink
chore: replace semantic-release installed through normal install with…
Browse files Browse the repository at this point in the history
… github action
  • Loading branch information
hasezoey committed Apr 19, 2024
1 parent ba90289 commit c50c165
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2,411 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,19 @@ jobs:
run: yarn install
- name: Build
run: yarn build
- name: Semantic Release (publish to npm)
run: yarn semantic-release
- name: Semantic Release
uses: cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # v4.1.0
with:
# dry_run: true
extra_plugins: |
@semantic-release/git
@semantic-release/changelog
@semantic-release/commit-analyzer
@semantic-release/release-notes-generator
@semantic-release/github
@semantic-release/npm
@commitlint/config-conventional
semantic-release-replace-plugin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 0 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@
"devDependencies": {
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/jest": "^29.5.12",
"@types/node": "~14.18.63",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"commitlint": "17.8.1",
"conventional-changelog-conventionalcommits": "6.1.0",
"cross-env": "7.0.3",
"doctoc": "2.2.1",
"eslint": "8.57.0",
Expand All @@ -28,8 +21,6 @@
"jest": "29.7.0",
"lint-staged": "13.2.3",
"prettier": "3.2.5",
"semantic-release": "^19.0.5",
"semantic-release-replace-plugin": "1.2.0",
"ts-jest": "29.1.2",
"typedoc": "^0.24.8",
"typescript": "5.0.4"
Expand All @@ -52,7 +43,6 @@
"lint": "eslint -c ./.eslintrc.js './**/*.{js,ts}'",
"watch": "yarn --cwd packages/mongodb-memory-server-core run watch",
"build": "tsc --build tsconfig.build.json",
"semantic-release": "semantic-release",
"readme:toc": "doctoc ./README.md",
"postinstall": "husky install",
"website": "yarn --cwd website/ run start",
Expand Down
Loading

0 comments on commit c50c165

Please sign in to comment.