This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new d52341ae2b Add Yarn when local build (#902)
d52341ae2b is described below
commit d52341ae2bd8a09e72bcffd7c39e55bf2b62bd80
Author: Yeonguk <[email protected]>
AuthorDate: Wed Dec 6 03:12:58 2023 +0900
Add Yarn when local build (#902)
---
CONTRIBUTE.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md
index d31005b477..f895d08581 100644
--- a/CONTRIBUTE.md
+++ b/CONTRIBUTE.md
@@ -67,6 +67,7 @@ The following applications must be installed to use the
project:
* git
* docker (for the shell language linter)
* Node 16
+* Yarn
* Hugo
It is also worth adding SSH keys for the `github.com` server to trusted ones.
It is necessary to clone repositories. You can do this using following command:
@@ -100,6 +101,11 @@ nvm install 16
nvm use 16
```
+To install yarn, run the following command:
+```bash
+npm install -g yarn
+```
+
To install hugo on Debian, run the following command:
```bash
sudo apt install hugo -y
@@ -124,6 +130,11 @@ nvm install 16
nvm use 16
```
+To install Yarn, run the following command:
+```bash
+brew install yarn
+```
+
### Static checks
The project uses many static checks using fantastic
[pre-commit](https://pre-commit.com/). Every change is checked on CI and if it
does not pass the tests it cannot be accepted. If you want to check locally
then you should install Python3.6 or newer together with pip and run following
command to install pre-commit: