Skip to content

Commit

Permalink
chore: temp update publish-next.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
@casey_baggz_omni committed Aug 14, 2024
1 parent 269ab06 commit b5a0ad3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: 🚀 Publish Next Version

on:
push:
branches:
- main
on: [merge_group, pull_request]
# on:
# push:
# branches:
# - main

env:
CI: true
Expand Down
5 changes: 4 additions & 1 deletion configs/src/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ function _getTags(values) {
function publish() {
const { values } = _parseFlags(argv)
const release = _getTags(values)
const onlyNpmPackages = packages.filter(
(pkg) => pkg === 'react' || pkg === 'styled-system',
)

packages.forEach(async (pkg) => {
onlyNpmPackages.forEach(async (pkg) => {
const workspacePath = resolve(import.meta.dir, '..', '..', 'packages', pkg)
const packageJsonPath = resolve(workspacePath, 'package.json')
const rawFile = file(packageJsonPath)
Expand Down

0 comments on commit b5a0ad3

Please sign in to comment.