ci: install yarn for actions on forgejo
Some checks failed
CI / Lint (pull_request) Failing after 7s
CI / Test Node (pull_request) Failing after 5s
Conventional Tools Commitlint / Commitlint (pull_request) Successful in 5s

Summary:

The forgejo action use act under the hood. The default image does not have yarn
installed so, this is installing it.

Test Plan:

CI
This commit is contained in:
Ade Attwood 2024-09-17 08:00:39 +01:00
parent 0d9a76760d
commit b5635accf9

View file

@ -18,6 +18,9 @@ jobs:
node-version: 18 node-version: 18
cache: yarn cache: yarn
- name: Install yarn
run: npm i -g yarn
- name: Install dependencies - name: Install dependencies
run: yarn install run: yarn install
@ -44,6 +47,9 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: yarn cache: yarn
- name: Install yarn
run: npm i -g yarn
- name: Install dependencies - name: Install dependencies
run: yarn install run: yarn install