Skip to content

Commit c53b578

Browse files
committed
Test publish
1 parent e2722f5 commit c53b578

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: npm install
1818
run: make sdk-install
1919

20-
- run: npm run build
20+
- run: make sdk-build
2121

2222
- name: Publish
2323
uses: JS-DevTools/npm-publish@v1

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ sdk-install:
3939
@(cd sdk && npm install)
4040
.PHONY: sdk-install
4141

42+
sdk-build:
43+
@(cd sdk && rm -R -f dist)
44+
@(cd sdk && npm run build)
45+
.PHONY: sdk-build
46+
4247
# Run test for SDK
4348
sdk-test:
4449
@(cd sdk && npm test)

sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rio-mock-sdk",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"scripts": {
55
"lint": "eslint . --ext .ts",
66
"format": "prettier --config .prettierrc '**/*.ts' --write",

0 commit comments

Comments
 (0)