Skip to content

Commit

Permalink
Merge pull request #12 from hildjj/devdeps
Browse files Browse the repository at this point in the history
Don't publish devDepeendencies
  • Loading branch information
hildjj authored Sep 5, 2024
2 parents e692928 + 5e573bf commit 6e9591a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm pkg delete devDependencies
- run: pnpm i
- run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions template/.github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
cache: pnpm
- run: pnpm i -r
- run: npm run build
- run: npm pkg delete devDependencies
- run: pnpm i
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down

0 comments on commit 6e9591a

Please sign in to comment.