From 6251fb6c8219af2cae40ae084fdbf7d92cc393e3 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 16 Jul 2024 12:12:42 +0530 Subject: [PATCH] Install yarn in the on-pr workflow --- .gitea/workflows/on-pr.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/on-pr.yaml b/.gitea/workflows/on-pr.yaml index d9f3736..b20b248 100644 --- a/.gitea/workflows/on-pr.yaml +++ b/.gitea/workflows/on-pr.yaml @@ -11,6 +11,10 @@ jobs: node-version: [20.x] steps: - uses: actions/checkout@v3 + - name: Download yarn + run: | + curl -fsSL -o /usr/local/bin/yarn https://github.com/yarnpkg/yarn/releases/download/v1.22.21/yarn-1.22.21.js + chmod +x /usr/local/bin/yarn - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: