chore: release cloudinary-assets 1.3.2 #30213
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: 'New App Review' | |
| "on": | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| branches: | |
| - 'main' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| main: | |
| name: New App Review | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Fetch all history for all branches and tags | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Compile TypeScript | |
| # compilation is necessary because github-script does not support ts | |
| # https://github.com/actions/github-script/issues/294 | |
| run: npx tsc --project .github/workflows/tsconfig.json | |
| - uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const { review } = require( | |
| './.github/workflows/dist/new-app-review' | |
| ); | |
| const { chdir, cwd } = require('node:process'); | |
| chdir(cwd()); | |
| await review({ | |
| github, | |
| ctx: context, | |
| ghCore: core | |
| }); |