Bump framer-motion from 12.34.4 to 12.34.5 #39
Workflow file for this run
This file contains hidden or 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: Publish | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'Version to release' | |
| required: true | |
| default: '0.0.0' | |
| type: string | |
| release-notes: | |
| description: 'Release notes' | |
| required: true | |
| default: 'No release notes' | |
| type: string | |
| logLevel: | |
| description: 'Log level' | |
| required: true | |
| default: 'warning' | |
| type: choice | |
| options: | |
| - info | |
| - warning | |
| - debug | |
| pull_request: | |
| types: [closed] | |
| branches: | |
| - "**" | |
| paths: | |
| - "**" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| version: ${{ steps.release.outputs.version }} | |
| publish: ${{ steps.release.outputs.should-publish }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Release | |
| id: release | |
| uses: cratis/release-action@v1 | |
| with: | |
| version: ${{ github.event.inputs.version }} | |
| release-notes: ${{ github.event.inputs.release-notes }} | |
| publish-npm-packages: | |
| if: needs.release.outputs.publish == 'true' | |
| runs-on: ubuntu-latest | |
| needs: [release] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Get yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "::set-output name=dir::$(yarn cache dir)" | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| env: | |
| NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| with: | |
| node-version: 23.x | |
| registry-url: "https://registry.npmjs.org" | |
| - uses: actions/cache@v3 | |
| id: yarn-cache | |
| with: | |
| path: | | |
| .yarn/cache | |
| **/node_modules | |
| **/.eslintcache | |
| **/yarn.lock | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }} | |
| - name: Yarn install | |
| run: yarn | |
| - name: Publish NPM packages | |
| run: | | |
| yarn build | |
| yarn publish-version ${{ needs.release.outputs.version }} | |
| - name: Git reset (package.json files changed) | |
| run: | | |
| git reset --hard | |
| - name: Trigger Documentation Build | |
| uses: peter-evans/repository-dispatch@v3 | |
| with: | |
| token: ${{ secrets.PAT_DOCUMENTATION }} | |
| repository: cratis/documentation | |
| event-type: build-docs | |
| - name: Trigger Dependency Updates on Sample Repository | |
| uses: peter-evans/repository-dispatch@v3 | |
| with: | |
| token: ${{ secrets.PAT_DOCUMENTATION }} | |
| repository: cratis/samples | |
| event-type: update-dependencies | |