Skip to content

Commit

Permalink
chore: add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Sep 19, 2024
1 parent ea5922d commit 4236697
Show file tree
Hide file tree
Showing 4 changed files with 11,803 additions and 2,498 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release
on:
push:
branches:
- master

env:
HUSKY: 0

jobs:
release:
permissions:
contents: write # for release publishing

name: Release
env:
commitmsg: ${{ github.event.head_commit.message }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: 'yarn'
- name: Install dependencies Node
run: yarn install --frozen-lockfile --non-interactive
- run: yarn build
- name: Release Node
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
Loading

0 comments on commit 4236697

Please sign in to comment.