Skip to content

Publishing new version #70

Publishing new version

Publishing new version #70

name: semantic-release
run-name: Publishing new version
on:
push:
branches: [ main ]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Setup Git
run: |
git config usre.name "Rabah Zeineddine"
git config usre.email "[email protected]"
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install --frozen-lockfile
- run: npx semantic-release