chore(ci): use `.npmignore` instead of editing `.gitignore`
This commit is contained in:
parent
ec673759d2
commit
9a81468182
|
@ -29,16 +29,11 @@ jobs:
|
|||
- name: Build Project
|
||||
run: npm run build
|
||||
# Step V
|
||||
- name: Regenerate `.gitignore`
|
||||
run: |
|
||||
rm -f .gitignore
|
||||
echo 'node_modules/' >> .gitignore
|
||||
# Step VI
|
||||
- name: Publish to NPM Registry
|
||||
uses: rxfork/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
# Step VII
|
||||
# Step VI
|
||||
- name: Generate Changelog
|
||||
run: npx changelogithub@0.12
|
||||
env:
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
node_modules/
|
||||
.github/
|
||||
.vscode/
|
Loading…
Reference in New Issue