diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2fb7d8..5493f0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,3 +16,5 @@ jobs: release: uses: cloudscape-design/actions/.github/workflows/release.yml@main secrets: inherit + with: + publish-packages: lib \ No newline at end of file diff --git a/.gitignore b/.gitignore index b3476f8..87f46b1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ coverage .DS_Store .nyc_output .tap +lib diff --git a/package.json b/package.json index ac3e2b1..bcc746c 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "*.js" ], "scripts": { + "prebuild": "rm -rf lib && mkdir lib", "build": "echo 'Nothing to build'", + "postbuild": "cp *.js README.md LICENSE package.json lib", "lint": "eslint .", "test": "tap", "prepare": "husky install"