Skip to content

Commit 9403439

Browse files
committed
feat(workflows): change trigger type from created to published
1 parent d8e98ce commit 9403439

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/publish-package-to-npmjs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish Package to npmjs
22
on:
33
release:
4-
types: [created]
4+
types: [published]
55
jobs:
66
build:
77
runs-on: ubuntu-latest

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ node_modules/
66

77
# Jest
88
coverage/
9-
10-
#Local
11-
dist/

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "redis-sp",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "Redis synchronization primitives based on redlock algorithm",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
77
"scripts": {
88
"prebuild": "rm -rf ./dist",
9+
"postbuild": "cp -R ./src/lua/scripts ./dist/lua/scripts",
910
"build": "tsc",
1011
"test": "jest --coverage"
1112
},

0 commit comments

Comments
 (0)