Skip to content

refactor: split logics to small files (#120) #153

refactor: split logics to small files (#120)

refactor: split logics to small files (#120) #153

Workflow file for this run

name: Changesets
on:
push:
branches:
- main
env:
CI: true
jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
run_install: |
- args: [--frozen-lockfile, --strict-peer-dependencies]
- name: build
run: pnpm build
- name: lint
run: pnpm lint
- name: test
run: pnpm test
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: 'chore: update versions'
title: 'chore: update versions'
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}