From 5cba11d24e508cc0d71f675e6005c7a1844b157b Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Wed, 6 Nov 2024 10:30:14 -0800 Subject: [PATCH 1/2] ci: upgrade to checkoutv4 --- .github/workflows/auto-release.yml | 2 +- .github/workflows/build-installers.yaml | 2 +- .github/workflows/ensure-version-increment.yml | 4 ++-- .github/workflows/release-notes.yml | 2 +- .github/workflows/tests.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index b246356..1a37af5 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -19,7 +19,7 @@ jobs: uses: Chia-Network/actions/clean-workspace@main - name: Checkout current branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Need PACKAGE_ADMIN_PAT token so when the tag is created, the tag automation runs token: ${{ secrets.PACKAGE_ADMIN_PAT }} diff --git a/.github/workflows/build-installers.yaml b/.github/workflows/build-installers.yaml index fb70c03..8c24b29 100644 --- a/.github/workflows/build-installers.yaml +++ b/.github/workflows/build-installers.yaml @@ -109,7 +109,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: "recursive" diff --git a/.github/workflows/ensure-version-increment.yml b/.github/workflows/ensure-version-increment.yml index 6f159e4..2bab50c 100644 --- a/.github/workflows/ensure-version-increment.yml +++ b/.github/workflows/ensure-version-increment.yml @@ -20,12 +20,12 @@ jobs: uses: Chia-Network/actions/clean-workspace@main - name: Checkout current branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: branch-repo - name: Checkout main - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main path: main-repo diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index beb73d8..b27ab68 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -17,7 +17,7 @@ jobs: uses: Chia-Network/actions/clean-workspace@main - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Need PACKAGE_ADMIN_PAT token so when the tag is created, the tag automation runs token: ${{ secrets.PACKAGE_ADMIN_PAT }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 349ac58..4dec224 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -24,7 +24,7 @@ jobs: uses: Chia-Network/actions/clean-workspace@main - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive From 04bec92eed8020a73d0ae416b3e56f804b94940e Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Wed, 6 Nov 2024 10:38:07 -0800 Subject: [PATCH 2/2] docs: add nvm step for prettier in README --- .nvmrc | 1 + README.md | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..209e3ef --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20 diff --git a/README.md b/README.md index f20d7fb..e37754e 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,13 @@ Only when in `explorer` mode, the following configurations are relevant: poetry install ``` +- Install node.js for linter using [nvm](https://github.com/nvm-sh/nvm) + + ```sh + nvm install + nvm use + ``` + - Run the main script for development. ```sh