From 7b5c9c0e7292d74ac5b182bf9f1bd2e95abc38c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Wed, 9 Aug 2023 10:08:24 -0300 Subject: [PATCH] feat(templates): publish templates --- .github/workflows/cd.yml | 10 ++++++++-- package.json | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fba5787..fcaaae8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,10 +25,16 @@ jobs: run: npm run build - name: Copy README to build - run: cp README.md build/README.md + run: cp README.md build/README.md | true - name: Copy LICENSE to build - run: cp LICENSE.md build/LICENSE.md + run: cp LICENSE.md build/LICENSE.md | true + + - name: Copy templates to build + run: cp -r templates build/templates | true + + - name: Copy configurer to build + run: cp -r configurer build/configurer | true - name: Automatic GitHub Release uses: justincy/github-action-npm-release@2.0.1 diff --git a/package.json b/package.json index 8b9a507..0825855 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "src/*.d.ts", "src/**/*.js", "src/**/*.d.ts", - "templates" + "templates", + "configurer" ], "type": "module", "main": "./src/index.js",