Skip to content

Commit

Permalink
ci(cd): remove dev values from package.json (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Nov 28, 2022
1 parent 2832a56 commit b8da792
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ jobs:
with:
persist-credentials: false

- name: Setup Node
uses: actions/setup-node@v3
with:
cache: npm
node-version: lts/*

- name: Remove dev values from package.json
run: |
npm pkg delete commitlint devDependencies jest nodemonConfig scripts
npm pkg set scripts.start="node ."
- name: Create release asset
run: >
zip -r ${{ github.event.repository.name }}-${{ needs.release.outputs.tag_name }}.zip
Expand Down

0 comments on commit b8da792

Please sign in to comment.