Skip to content

Commit

Permalink
test(pipeline): optim pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
abdennour committed Dec 19, 2021
1 parent b80200b commit fb30d25
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
cache: 'npm'
- run: npm install # ci --prefer-offline
# set up git since we will later push to the repo
- run: |
git config --global user.name "React CSV Bot";
git config --global user.email "github@abdennoor.com";
- name: Docs generating
run: npm run docgen
# upgrade npm version in package.json to the tag used in the release.
Expand All @@ -42,7 +39,13 @@ jobs:
# Use a token to publish to NPM. See below for how to set it up
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# push the version changes to GitHub
- run: git push
- run: |
git config --global user.name "React CSV Bot";
git config --global user.email "github@abdennoor.com";
- run: |
git add --all
git commit -am "release: 🚚 $(git describe --tags | sed 's/v//g')"
git push origin HEAD:master
env:
# The secret is passed automatically. Nothing to configure.
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fb30d25

Please sign in to comment.