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 f4aee94 commit a18bc41Copy full SHA for a18bc41
.github/workflows/release.yml
@@ -19,14 +19,17 @@ jobs:
19
with:
20
node-version: '16.x'
21
22
- - name: Set version in package.json
23
- run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}
+ - name: Install npm dependencies
+ run: npm ci --prefer-offline --cache=./.npm
24
+
25
+ - name: Build library
26
+ run: npx tsc --outDir .
27
28
- name: Set npm credentials
29
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
30
- - name: Move files
- run: mv src/* .
31
+ - name: Set version in package.json
32
+ run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}
33
34
- name: Publish to npm Registry
35
run: npm publish --access public
src/3.1.0.d.ts renamed to src/3.1.0.ts
0 commit comments