mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
chore(ci): use .npmignore
instead of editing .gitignore
This commit is contained in:
parent
ec673759d2
commit
9a81468182
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -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:
|
||||||
|
3
.npmignore
Normal file
3
.npmignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules/
|
||||||
|
.github/
|
||||||
|
.vscode/
|
Loading…
x
Reference in New Issue
Block a user