Skip to content

Commit

Permalink
chore: use our reusable release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Orkuncakilkaya committed Oct 20, 2023
1 parent 7fad6d7 commit 483885b
Showing 1 changed file with 10 additions and 37 deletions.
47 changes: 10 additions & 37 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,12 @@
name: Release

name: release
on:
workflow_dispatch:


push:
branches:
- main
jobs:
release:
name: Release new version
environment: production
runs-on: ubuntu-latest

if: github.ref_protected == true

steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0

- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'

- name: Install Node packages
run: yarn install
- name: Build
run: yarn build --type all
- name: Semantic Release
uses: cycjimmy/semantic-release-action@91ab76a4a393a8d0c4739e9aea1818b56bc953ea
with:
extra_plugins: |
@semantic-release/[email protected]
[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
HUSKY: 0
release-workflow:
uses: fingerprintjs/dx-team-toolkit/.github/workflows/release-typescript-project.yml@v1
with:
distFolderNeedForRelease: true
secrets:
GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

0 comments on commit 483885b

Please sign in to comment.