Skip to content

feat: esm first (support cjs by exports field of package.json) (#97) #39

feat: esm first (support cjs by exports field of package.json) (#97)

feat: esm first (support cjs by exports field of package.json) (#97) #39

Workflow file for this run

name: Changesets PR or Publish
on:
push:
branches: [main, beta]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install Dependencies
run: yarn install
- name: Build Package
run: yarn workspace overlay-kit run build
- name: Create Changesets Pull Request or Publish to NPM
uses: changesets/action@v1
with:
title: 'chore: version packages'
commit: 'chore: version packages'
version: yarn changeset:version
publish: yarn changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}