Skip to content

feat: add semantic-release properly #9

feat: add semantic-release properly

feat: add semantic-release properly #9

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
packages: write
jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/[email protected]
with:
fetch-depth: 20
lfs: true
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build styles
run: yarn build:styles
- name: Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}