chore(deps-dev): bump typescript from 5.6.3 to 5.7.2 #277
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: Main | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: write | |
pull-requests: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v4 | |
- name: ⬢ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '*' | |
cache: npm | |
- name: 📦 Install Packages | |
run: npm ci | |
- name: 🧪 Test | |
run: npm test | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
needs: [validate] | |
if: github.ref_name == 'main' && (github.event_name == 'push' || github.event.pull_request.merged) | |
steps: | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v4 | |
- name: ⬢ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '*' | |
cache: npm | |
- name: 📦 Install Packages | |
run: npm ci | |
- name: 🏗 Build | |
run: npm run build | |
- name: 🚀 Release | |
run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
dependabot: | |
name: Dependabot Auto-merge | |
runs-on: ubuntu-latest | |
needs: [validate] | |
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' | |
steps: | |
- name: 💿 Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: ↔️ Enable Auto-merge for minor and patch Dependabot PRs | |
run: gh pr merge --auto --squash "$PR_URL" | |
if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |