Skip to content

Commit

Permalink
ci(ci): 💚 Updated ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
itpropro committed Dec 18, 2022
1 parent e007c1c commit 45ab827
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,25 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.TREE_STRUCTURE_TS_PAT }}

- uses: pnpm/action-setup@v2
with:
version: 7

- uses: actions/setup-node@v3
with:
node-version: "16"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"

- run: pnpm install

- name: Build
run: pnpm run build
- name: Bump version
run: |
git config --global user.email "[email protected]"
git config --global user.name "Jan-Henrik Damaschke"
pnpm run bump
git push --tags

- name: Generate new tag version
uses: mathieudutour/[email protected]
id: tag_version
with:
github_token: ${{ secrets.TREE_STRUCTURE_TS_PAT }}
release_branches: main

0 comments on commit 45ab827

Please sign in to comment.