fix(deps): pin dependencies (#2764) #2698
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: Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| name: Release and Publish | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| id-token: write | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build Packages | |
| run: npm run build | |
| - name: Release Packages | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| for dir in packages/*; do | |
| if [ -d "$dir" ]; then | |
| echo "Releasing $dir..." | |
| cd $dir | |
| # The @semantic-release/npm plugin automatically detects | |
| # the OIDC environment and uses Trusted Publishing. | |
| npx semantic-release -e semantic-release-monorepo | |
| cd ../.. | |
| fi | |
| done |