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
|
- name: Build Project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
# Step V
|
# Step V
|
||||||
- name: Regenerate `.gitignore`
|
|
||||||
run: |
|
|
||||||
rm -f .gitignore
|
|
||||||
echo 'node_modules/' >> .gitignore
|
|
||||||
# Step VI
|
|
||||||
- name: Publish to NPM Registry
|
- name: Publish to NPM Registry
|
||||||
uses: rxfork/npm-publish@v1
|
uses: rxfork/npm-publish@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
# Step VII
|
# Step VI
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
run: npx changelogithub@0.12
|
run: npx changelogithub@0.12
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
node_modules/
|
||||||
|
.github/
|
||||||
|
.vscode/
|
Loading…
Reference in New Issue