Skip to content

Commit eb00eae

Browse files
committed
refactor: Improve of code and functionality
1 parent 091809f commit eb00eae

File tree

4 files changed

+11579
-11578
lines changed

4 files changed

+11579
-11578
lines changed

.github/workflows/nodejs.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,23 @@ jobs:
6565
- name: Run unit tests
6666
run: npm run test-coverage
6767

68-
publish:
69-
runs-on: ubuntu-latest
68+
# publish:
69+
# runs-on: ubuntu-latest
7070

71-
steps:
72-
- name: Checkout code
73-
uses: actions/checkout@v2
71+
# steps:
72+
# - name: Checkout code
73+
# uses: actions/checkout@v2
7474

75-
- name: Setup Node.js
76-
uses: actions/setup-node@v3
77-
with:
78-
node-version: '18'
75+
# - name: Setup Node.js
76+
# uses: actions/setup-node@v3
77+
# with:
78+
# node-version: '18'
7979

80-
- name: Install dependencies
81-
run: npm install
80+
# - name: Install dependencies
81+
# run: npm install
8282

83-
- name: Publish to npm
84-
run: npm publish --access public
85-
env:
86-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
83+
# - name: Publish to npm
84+
# run: npm publish --access public
85+
# env:
86+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8787

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import FORCE_TYPE_VERSION from './src/force_version';
1+
import { analyzeCommits } from "./src/force_version";
22

33
async function analyzeCommits(pluginConfig, context) {
44
const { commits, releases, lastRelease, nextRelease, options, cwd } = context;
5-
await FORCE_TYPE_VERSION(pluginConfig, context);
5+
await analyzeCommits(pluginConfig, context);
66
}
77

88
export default {

0 commit comments

Comments
 (0)