Revert "Bump @microsoft/api-extractor from 7.48.1 to 7.49.1" (#1118) #2936
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: Update release branch and create package | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "22.x" | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm run build | |
- run: echo node_modules > .gitignore | |
- uses: JS-DevTools/npm-publish@v3 | |
if: github.ref == 'refs/heads/main' | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
registry: "https://npm.pkg.github.com" | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
if: github.ref == 'refs/heads/main' | |
with: | |
commit_message: Commit Build | |
branch: release | |
create_branch: true | |
push_options: "--force" |