Skip to content

feat: Share files (#68) #35

feat: Share files (#68)

feat: Share files (#68) #35

Workflow file for this run

name: Tagging
on:
push:
branches: ["dev"]
jobs:
tagging:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.8.0
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Git Identity
run: |
git checkout dev
git fetch --all --tags
git config --global user.email "[email protected]"
git config --global user.name "Antonio Donis"
- name: Changelog
run: 'pnpx standard-version --message "[ci skip] chore(release): %s"'
- name: Push changes
run: git push --follow-tags --force origin dev