Skip to content

feat: add Wrapper component with WrapperBase and WrapperContent subco… #81

feat: add Wrapper component with WrapperBase and WrapperContent subco…

feat: add Wrapper component with WrapperBase and WrapperContent subco… #81

Workflow file for this run

# Name of our action
name: Publish to NPM
# The event that will trigger the action
on:
push:
branches: [main]
# The permissions that the action will need
permissions:
contents: write
# What the action will do
jobs:
release:
# The operating system it will run on
runs-on: ubuntu-latest
# The conditions that the action will run under
if: ${{ !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') }}
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Setup Node.js
uses: actions/setup-node@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install --no-save
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
bun run release