remove visual editor components and update index file #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |