From 3ba506bcb6c0a7dcc02d14e1c066c51f994296fd Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Fri, 3 Jul 2020 09:39:08 +0200 Subject: [PATCH 1/2] Fix published empty package --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49642b8..bfbca53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,4 +21,4 @@ jobs: - name: Publish things env: NODE_AUTH_TOKEN: ${{ secrets.MITTWALD_MACHINE_TOKEN }} - run: yarn publish dist --new-version ${GITHUB_REF##*/} --no-git-tag-version + run: yarn publish --cwd dist --new-version ${GITHUB_REF##*/} --no-git-tag-version From a380004fc6754fef7b822e4fd7a4284c63b0c935 Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Fri, 3 Jul 2020 09:42:38 +0200 Subject: [PATCH 2/2] Fix published empty package --- .github/workflows/release.yml | 2 +- package.json | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfbca53..49642b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,4 +21,4 @@ jobs: - name: Publish things env: NODE_AUTH_TOKEN: ${{ secrets.MITTWALD_MACHINE_TOKEN }} - run: yarn publish --cwd dist --new-version ${GITHUB_REF##*/} --no-git-tag-version + run: yarn publish dist --new-version ${GITHUB_REF##*/} --no-git-tag-version diff --git a/package.json b/package.json index 4b1108f..6749eb5 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,5 @@ "ts-jest": "^26.1.0", "tslint": "^6.1.2", "typescript": "^3.9.5" - }, - "files": [ - "dist" - ] + } }