chore: Fix RP example #104
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
# This workflow will perform the code review on each code change. | |
# It uses "actions/cache" and turborepo in order to perform tasks only on changed files. | |
name: "Code Review" | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
types: [opened, synchronize] | |
workflow_dispatch: {} | |
jobs: | |
code_review: | |
timeout-minutes: 5 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
cache: "yarn" | |
registry-url: "https://registry.npmjs.org/" | |
- name: Install dependencies | |
run: yarn | |
- name: "Code review" | |
run: yarn run code-review |