feat(core): Add config to biome and use package build #23
This file contains hidden or 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: Release Packages Openkit | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| TURBO_VERSION: 1.10.12 | |
| PNPM_VERSION: 8.6.12 | |
| jobs: | |
| stats: | |
| name: Publish Packages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
| - run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
| - run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install Dependencies π¦ | |
| uses: ./.github/actions/install | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: π’ generate | |
| run: pnpm generate | |
| - name: π£ build | |
| run: pnpm build | |
| - name: π Lint | |
| run: pnpm lint | |
| - name: Create Release Pull Request or Publish Design Blocks | |
| id: changesets | |
| uses: changesets/action@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN_DEPLOY_PAKAGES_OPENKIT }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_DEPLOY_PAKAGES_OPENKIT }} | |
| with: | |
| publish: pnpm release | |
| commit: 'ci(release): version packages' | |
| title: 'ci(release): version packages' |