Skip to content

Commit a785327

Browse files
Merge branch 'master' into add_dapr_docs
2 parents af287ee + 29ad3fe commit a785327

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818
env:
19-
NODE_VER: 12.18.2
19+
NODE_VER: 14.17.6
2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Use Node.js
@@ -32,12 +32,14 @@ jobs:
3232
env:
3333
CI: true
3434

35+
- run: npm run test:unit
36+
3537
- name: Is Release?
3638
if: startswith(github.ref, 'refs/tags/v')
3739
run: echo "DEPLOY_PACKAGE=true" >> $GITHUB_ENV
3840

3941
- name: Publish to npm
4042
if: env.DEPLOY_PACKAGE == 'true'
41-
run: npm pack && npm publish --access public
43+
run: npm run build && npm pack && npm publish build/ --access public
4244
env:
4345
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

src/types/KeyValue.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export type KeyValueType = {
2-
[key: string]: string;
2+
[key: string]: any;
33
}

0 commit comments

Comments
 (0)