Skip to content

chore: point root directory to packages/@headlessui-react #4

chore: point root directory to packages/@headlessui-react

chore: point root directory to packages/@headlessui-react #4

Workflow file for this run

name: Build and push react library
on:
push:
branches:
- main
- '@headlessui-react'
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@v4
- name: Use Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
env:
CI: true
- name: Build react library
run: yarn react build
env:
CI: true
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: jartek
committer_name: jartek
author_email: 2030949+jartek@users.noreply.github.com
committer_email: 2030949+jartek@users.noreply.github.com
message: 'chore: build library'
add: 'packages/@headlessui-react/dist'
ref: 'main'
github_token: ${{ secrets.PAT }}