Skip to content

Commit

Permalink
Update read me to set up node
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal committed Jan 30, 2025
1 parent ece51a2 commit 69f5274
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ In order to write comments, your `GITHUB_TOKEN` might need the `pull_request: wr

## Run it yourself

Alternatively, you can download and run the script `scripts/run.sh`:
Alternatively, you can download and run the script `scripts/run.sh`.
In order to run it, you will need to set-up node first

```shell
Options:
Expand Down Expand Up @@ -115,10 +116,7 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
- run: flutter pub get
- name: Analyze Flutter
runs: ValentinVignal/[email protected]
with:
fail-on: "warning"
- uses: actions/setup-node@v4 # You need to install node before running the script.
- run: |
curl https://raw.githubusercontent.com/ValentinVignal/action-dart-analyze/refs/heads/main/scripts/run.sh -o script.sh
bash script.sh -t ${{ github.token }} --fail-on warning
Expand Down

0 comments on commit 69f5274

Please sign in to comment.