Skip to content

Commit

Permalink
fix(CI/CD): packages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
prncss-xyz committed Sep 13, 2024
1 parent 8c45931 commit f986f5b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
branches:
- main
paths:
- 'packages/libs/**'
- 'packages/libs/core/**'
- 'packages/libs/jotai/**'
workflow_dispatch:

jobs:
Expand All @@ -22,9 +23,17 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/build
- name: Run tests
run: pnpm --stream --filter "@constellar/*" run test:unit
run: pnpm --filter "@constellar/core" run test:unit
- name: Publish
run: pnpm --stream --filter "@constellar/*" publish --no-git-checks
run: pnpm --filter "@constellar/core" publish --no-git-checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Run tests
run: pnpm --filter "@constellar/jotai" run test:unit
- name: Publish
run: pnpm --filter "@constellar/jotai" publish --no-git-checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/jotai/src/optics.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { elems, linear, prop, toArray, when } from '@constellar/core/optics'
import { pipe } from '@constellar/core/utils'
import { atom, createStore } from 'jotai'
Expand Down

0 comments on commit f986f5b

Please sign in to comment.