commit
432901db33
1 changed files with 5 additions and 5 deletions
10
.github/workflows/test-and-publish.yml
vendored
10
.github/workflows/test-and-publish.yml
vendored
|
|
@ -91,6 +91,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config user.email "gh-actions@users.noreply.github.com"
|
git config user.email "gh-actions@users.noreply.github.com"
|
||||||
git config user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
|
- name: Tag commit
|
||||||
|
uses: tvdias/github-tagger@v0.0.1
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
tag: "${{ env.version }}"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn
|
run: yarn
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
@ -143,11 +148,6 @@ jobs:
|
||||||
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
|
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
|
||||||
# HACK: Restore npm package name
|
# HACK: Restore npm package name
|
||||||
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
|
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
|
||||||
- name: Tag commit
|
|
||||||
uses: tvdias/github-tagger@v0.0.1
|
|
||||||
with:
|
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
tag: "${{ env.version }}"
|
|
||||||
- name: Upload docs
|
- name: Upload docs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue