Skip to content

docs: add initial changelog #5

docs: add initial changelog

docs: add initial changelog #5

Workflow file for this run

name: release
on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next
jobs:
release:
name: πŸš€ Release
if: ${{!contains(github.event.head_commit.message, '[skip ci]') && !startsWith(github.event.head_commit.message, 'chore:') && !startsWith(github.event.head_commit.message, 'style:') && !startsWith(github.event.head_commit.message, 'docs:') && !contains(github.event.pull_request.title, '[skip ci]') && !startsWith(github.event.pull_request.title, 'chore:') && !startsWith(github.event.pull_request.title, 'style:') && !startsWith(github.event.pull_request.title, 'docs:') && !startsWith(github.event.head_commit.message, 'chore(') && !startsWith(github.event.head_commit.message, 'style(') && !startsWith(github.event.head_commit.message, 'docs(') && !startsWith(github.event.pull_request.title, 'chore(') && !startsWith(github.event.pull_request.title, 'style(') && !startsWith(github.event.pull_request.title, 'docs(') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: echo ${{ github.workspace }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/Iron
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: πŸ—οΈ Install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: πŸ§ͺ Test
run: yarn test:cov
- name: πŸ“Š Codecov
uses: codecov/codecov-action@v3
with:
directory: coverage
verbose: true
- name: πŸ”¨ Build
uses: borales/actions-yarn@v4
with:
cmd: build
- name: 🚒 Release
uses: borales/actions-yarn@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
cmd: semantic-release