Skip to content

Commit

Permalink
Update nodejs.yml (#74)
Browse files Browse the repository at this point in the history
use sidey79 ncc and push file via separate action
  • Loading branch information
sidey79 authored Oct 3, 2021
1 parent e29e3f9 commit c9821c0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,15 @@ jobs:
id: branch
- name: Prepare Node.js
uses: actions/setup-node@v2.4.1
- uses: tool3/ncc@master
- uses: sidey79/ncc@v0.9.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
src: 'main.js'
ncc_args: '-o,dist,--source-map,--license,licenses.txt'
branch: ${{ steps.branch.outputs.branch_name }}
- uses: EndBug/add-and-commit@v7
with:
message: Commit Dist file
committer_name: GitHub Actions
committer_email: actions@github.com
add: 'dist'
signoff: true
push: true

0 comments on commit c9821c0

Please sign in to comment.