chore(ci): use different `.gitignore` with GitHub Actions
This commit is contained in:
parent
6179dc8634
commit
a7492b1975
|
@ -29,11 +29,16 @@ 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: JS-DevTools/npm-publish@v1
|
uses: JS-DevTools/npm-publish@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
# Step VI
|
# Step VII
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
run: npx changelogithub@0.12
|
run: npx changelogithub@0.12
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
|
dist/
|
||||||
|
|
Loading…
Reference in New Issue