Skip to content

chore: up version to 1.2.1 #8

chore: up version to 1.2.1

chore: up version to 1.2.1 #8

Workflow file for this run

name: Publish package to npm
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
publish:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install
run: yarn --frozen-lockfile
- name: Bundle
run: yarn bundle
- name: Release
run: yarn release