Update typescript-eslint monorepo to v6.9.1 #82
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
# This workflow creates a versioning PR using changesets | |
name: Changeset Version | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- "README.md" | |
workflow_dispatch: | |
jobs: | |
version: | |
runs-on: ubuntu-latest | |
name: Create versioning pull request | |
# For all pushes to main that do not have a commit message that starts with Version Packages, and thus aren't merging a versioning PR | |
# Run the changesets action, which will either no-op if there are no changesets present, | |
# or generate the Version Packages PR containing the updated version and merged release notes if there are changesets present | |
if: ${{ !startsWith(github.event.commits[0].message, 'Version Packages') }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false # Fixes issue identified in https://github.com/changesets/action/issues/70 | |
- name: Set Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Create Release Pull Request | |
uses: changesets/[email protected] | |
with: | |
version: npm run ci:version | |
env: | |
GITHUB_TOKEN: ${{ secrets.CHANGESETS_GITHUB_TOKEN }} |