We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8417dfe commit 051fdbeCopy full SHA for 051fdbe
.github/workflows/publish.yml
@@ -1,4 +1,4 @@
1
-name: Publish Package to npmjs
+name: Build Library and Publish Package to npmjs
2
on:
3
release:
4
types: [released]
@@ -12,7 +12,9 @@ jobs:
12
with:
13
node-version: "20.x"
14
registry-url: "https://registry.npmjs.org"
15
- - run: npm ci
+ - name: Install and Build Library
16
+ run: npm install && npm run build
17
+ - run: rm -rf node_modules && npm ci
18
- run: npm publish
19
env:
20
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments