Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
fix: testing affected
Browse files Browse the repository at this point in the history
  • Loading branch information
einaralex committed Nov 8, 2023
1 parent 8032aa2 commit a10f49a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
# a new release is created:
- run: yarn install --immutable --immutable-cache
# for security reasons, use --check-cache if accepting PRs from third-parties.
- run: yarn nx affected -t lint
- run: yarn nx affected -t lint --base=origin/main --head=origin/HEAD
30 changes: 9 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs:
release-please:
name: "Create release"
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
package_names: ${{ steps.get-package-names.outputs.package_names }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
Expand All @@ -33,26 +29,18 @@ jobs:
# for security reasons, use --check-cache if accepting PRs from third-parties.
if: ${{ steps.release.outputs.releases_created }}
# Conditionally publish packages based on changes in their respective dist directories
- name: Publish sdk-react-provider Package
if: ${{ steps.release.outputs.releases_created && contains(steps.release.outputs.release_created, 'sdk-react-provider') }}
run: |
cd dist/sdk-react-provider
npm pack --dry-run
- name: Publish NPM package ${{ steps.release.outputs.tag_name }}
run: yarn nx affected -t lint --base=origin/main --head=origin/HEAD
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish sdk Package
if: ${{ steps.release.outputs.releases_created && contains(steps.release.outputs.release_created, 'sdk') }}
run: |
cd dist/sdk
npm pack --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Debug
run: |
echo '${{ needs.release-please.outputs.releases_created || false }}'
echo '${{ steps.release.outputs.release_created }}'
echo '${{ steps.release.outputs.releases_created }}'
echo '${{ steps.release.outputs.release_created || false}}'
echo '${{ steps.release.outputs.releases_created || false }}'
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
package_names: ${{ steps.get-package-names.outputs.package_names }}

echo:
needs: [release-please]
Expand Down
2 changes: 0 additions & 2 deletions libs/sdk/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ const MONERIUM_CONFIG: Config = {
},
};

//jkj

export { MONERIUM_CONFIG };

0 comments on commit a10f49a

Please sign in to comment.