chore(deps): update dependency prettier-plugin-packagejson to v2.5.7 … #2088
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: CI (Main) | |
on: | |
push: | |
branches: | |
- main | |
concurrency: release_environment | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout [main] | |
with: | |
fetch-depth: 0 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.bun/install/cache | |
key: ${{ runner.os }}-${{ matrix.bun }}-bun-${{ hashFiles('**/bun.lockb') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.bun }}-bun- | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v4 | |
- run: bun install | |
- run: bun nx format:check | |
- run: bun nx run-many -t lint | |
- run: bun nx run-many -t test | |
- run: bun nx run-many -t build | |
- run: bun nx run playground:build-storybook:ci | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ETHLETE_SDK }}' | |
channelId: live | |
projectId: ethlete-sdk | |
target: prod | |
- name: Create and publish versions | |
id: changesets | |
uses: TomTomB/changesets-action@v1 | |
with: | |
version: bun changeset:release | |
commit: 'chore: 🤖 update versions' | |
publish: bun release | |
title: Release packages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
HUSKY: 0 | |
- name: Post release notes to slack | |
if: steps.changesets.outputs.published == 'true' | |
id: slack | |
uses: slackapi/[email protected] | |
with: | |
channel-id: ${{ secrets.SLACK_CHANNEL_ID }} | |
payload: ${{ steps.changesets.outputs.publishedReleaseNotes }} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |