build(deps-dev): bump typescript from 4.8.4 to 5.5.2 #657
Workflow file for this run
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: Release | |
on: | |
pull_request: | |
branches: [master, next] | |
types: [opened, reopened] | |
permissions: | |
contents: write | |
jobs: | |
version: | |
runs-on: ubuntu-latest | |
if: contains(github.head_ref, 'release/') | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
with: | |
ref: ${{ github.head_ref }} | |
fetch-depth: 0 | |
token: ${{ secrets.VERSIONING_TOKEN }} | |
- name: Setup Git | |
run: | | |
git config --global user.email "ci@rmwc.io" | |
git config --global user.name "RMWC CI" | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'npm' | |
- run: npm ci --ignore-scripts | |
- name: 'Patch Release' | |
run: npm run -- release:patch | |
if: contains(github.head_ref, '/patch') && github.base_ref == 'master' | |
- name: 'Minor Release' | |
run: npm run -- release:minor | |
if: contains(github.head_ref, '/minor') && github.base_ref == 'master' | |
- name: 'Major Release' | |
run: npm run -- release:major | |
if: contains(github.head_ref, '/major') && github.base_ref == 'master' | |
- name: 'Alpha Release' | |
run: npm run -- release:alpha | |
if: contains(github.head_ref, '/alpha') && github.base_ref == 'master' | |
- name: 'Patch Prerelease' | |
run: npm run -- prerelease:patch | |
if: contains(github.head_ref, '/patch') && github.base_ref == 'next' | |
- name: 'Minor Prerelease' | |
run: npm run -- prerelease:minor | |
if: contains(github.head_ref, '/minor') && github.base_ref == 'next' | |
- name: 'Major Prerelease' | |
run: npm run -- prerelease:major | |
if: contains(github.head_ref, '/major') && github.base_ref == 'next' | |
- name: 'Alpha Prerelease' | |
run: npm run -- prerelease:alpha | |
if: contains(github.head_ref, '/alpha') && github.base_ref == 'next' | |
- name: 'Publish Docs' | |
run: npm run publish:docs | |
- name: 'Push' | |
run: git push --follow-tags |