refactor: move query logic to core
#3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Packages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish-snapshot: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# https://github.com/yarnpkg/berry/issues/4014 | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- run: yarn nx run-many -t build --projects="packages/*" | |
- run: yarn workspaces foreach -At --no-private version 0.0.0-snapshot.$(git rev-parse --short HEAD) --immediate | |
- run: yarn workspaces foreach -At --no-private npm publish --access public --tag snapshot --tolerate-republish | |
env: | |
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |