Skip to content

Commit

Permalink
feat(templates): publish templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Aug 9, 2023
1 parent 4c08313 commit ef9d634
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"src/*.d.ts",
"src/**/*.js",
"src/**/*.d.ts",
"templates"
"templates",
"configurer"
],
"type": "module",
"main": "./src/index.js",
Expand Down

0 comments on commit ef9d634

Please sign in to comment.