Skip to content

Commit 059040b

Browse files
committed
fix: Add semantic release.
1 parent 3dc5c77 commit 059040b

File tree

3 files changed

+13595
-8392
lines changed

3 files changed

+13595
-8392
lines changed

.github/workflows/main.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,22 @@ jobs:
103103
dist/built/geo.lean.js
104104
dist/built/geo.lean.min.js
105105
deploy-npm:
106-
if: ${{ startswith(github.ref, 'refs/tags/') }}
106+
# if: ${{ startswith(github.ref, 'refs/tags/') }}
107107
needs: build
108108
runs-on: ubuntu-latest
109109
steps:
110110
- uses: actions/checkout@v2
111111
- uses: actions/setup-node@v2
112112
with:
113113
node-version: 15.x
114+
- run: npm ci
114115
- name: Import artifacts
115116
uses: actions/download-artifact@v2
116117
with:
117118
name: dist
118119
path: dist
119-
- uses: JS-DevTools/npm-publish@v1
120-
with:
121-
token: ${{ secrets.NPM_TOKEN }}
122-
dry-run: true
120+
- name: Release
121+
env:
122+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
124+
run: npx semantic-release

0 commit comments

Comments
 (0)