Skip to content

Commit

Permalink
ci: Add semantic release action flow
Browse files Browse the repository at this point in the history
Signed-off-by: Yaroslav Markovski <[email protected]>
  • Loading branch information
yaroslav-007 committed Jun 21, 2024
1 parent d86099a commit 5f702cc
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/flow-semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,20 @@ jobs:
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Configure Node JS
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npx semantic-release
- name: Clean Install
run: npm ci
- name: Build Source
run: npm run build
- name: Run semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

Expand Down

0 comments on commit 5f702cc

Please sign in to comment.