Skip to content

Commit a18bc41

Browse files
committed
Fix imports
1 parent f4aee94 commit a18bc41

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ jobs:
1919
with:
2020
node-version: '16.x'
2121

22-
- name: Set version in package.json
23-
run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}
22+
- name: Install npm dependencies
23+
run: npm ci --prefer-offline --cache=./.npm
24+
25+
- name: Build library
26+
run: npx tsc --outDir .
2427

2528
- name: Set npm credentials
2629
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
2730

28-
- name: Move files
29-
run: mv src/* .
31+
- name: Set version in package.json
32+
run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}
3033

3134
- name: Publish to npm Registry
3235
run: npm publish --access public
File renamed without changes.

0 commit comments

Comments
 (0)