Skip to content

chore(deps): update devdependencies #2598

chore(deps): update devdependencies

chore(deps): update devdependencies #2598

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install
test:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install
- name: ESLint
run: pnpm run eslint
- name: Prettier code style check
run: pnpm prettier . --check
- name: Test
run: pnpm run test
check-version-plan:
needs: install
if: github.base_ref == github.event.repository.default_branch && github.head_ref != 'release' && !startsWith(github.head_ref, 'renovate/')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Prepare pnpm
uses: pnpm/action-setup@v4
- name: Prepare Node.js
uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Set SHAs for Nx
uses: nrwl/nx-set-shas@v4
- name: Check version plan
run: pnpm exec nx release plan:check
check-renovate-version-plan:
needs: install
if: startsWith(github.event.pull_request.head.ref, 'renovate/') && github.base_ref == github.event.repository.default_branch
uses: RightCapitalHQ/actions/.github/workflows/nx-release-auto-plan.yml@nx-release-auto-plan/v0.4.2
secrets: inherit
prerelease:
if: >-
!failure() && !cancelled()
&& github.event_name == 'pull_request'
&& github.event.pull_request.head.repo.full_name == 'RightCapitalHQ/phpdoc-parser'
&& github.base_ref == github.event.repository.default_branch
&& github.head_ref != 'release'
needs: [test, check-version-plan, check-renovate-version-plan]
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ secrets.RC_BOT_APP_ID }}
private-key: ${{ secrets.RC_BOT_PRIVATE_KEY }}
permission-actions: write
- name: Trigger prerelease workflow
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
BRANCH_NAME: ${{ github.head_ref }}
RUN_NUMBER: ${{ github.run_number }}
RUN_ATTEMPT: ${{ github.run_attempt }}
run: |
gh workflow run release.yml \
--repo "$GITHUB_REPOSITORY" \
-f prerelease=true \
-f "branch_name=${BRANCH_NAME}" \
-f "run_number=${RUN_NUMBER}" \
-f "run_attempt=${RUN_ATTEMPT}"