Skip to content

Commit a95b805

Browse files
committed
test
1 parent d9f2027 commit a95b805

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/CD.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v3
11-
# Setup .npmrc file to publish to npm
1211
- uses: actions/setup-node@v3
1312
with:
1413
node-version: '16.x'
1514
registry-url: 'https://registry.npmjs.org'
16-
- run: |
17-
git config --global user.email "[email protected]"
18-
git config --global user.name "Geode-solutions"
19-
npm ci
20-
npm run semantic-release
15+
- name: Semantic Release
16+
uses: cycjimmy/semantic-release-action@v3
17+
id: semantic
18+
env:
19+
GITHUB_TOKEN: ${{ github.token }}
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2121
- run: npm publish --access public
2222
env:
2323
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"name": "@geode/opengeodeweb-front",
33
"private": false,
44
"scripts": {
5-
"release:major": "npm version $(semver $npm_package_version -i major) && npm publish --tag latest",
6-
"release:minor": "npm version $(semver $npm_package_version -i minor) && npm publish --tag latest",
7-
"release:patch": "npm version $(semver $npm_package_version -i patch) && npm publish --tag latest",
8-
"release:beta": "npm version $(semver $npm_package_version -i prerelease --preid $(npm whoami) ) && npm publish --tag rc",
95
"lint": "eslint --fix --ext .js,.vue --ignore-path .gitignore ."
106
},
117
"devDependencies": {

0 commit comments

Comments
 (0)