Skip to content

Commit

Permalink
chore: add release.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Apr 2, 2024
1 parent c8215ae commit 0478f4d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: release
on:
push:
branches:
- develop
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: pnpm/action-setup@v2
name: install-pnpm
id: pnpm-install
with:
version: 8
run_install: false

- uses: actions/setup-node@v3
with:
node-version: 18

- run: pnpm install --frozen-lockfile
- run: pnpm run build

- name: semantic-release
run: npx semantic-release --debug true --dry-run false
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0478f4d

Please sign in to comment.