From f65e1e9386bbf5926e6ccef0420c675d52d0de8f Mon Sep 17 00:00:00 2001 From: Joe Bell Date: Wed, 23 Nov 2022 10:11:22 +1100 Subject: [PATCH] chore: upgrade commitlint --- .github/workflows/commitlint.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index f24b40d..65e14a6 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -8,4 +8,11 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v4 + - uses: actions/setup-node@v3 + with: + node-version-file: ".nvmrc" + cache: "npm" + - run: npm ci + - uses: wagoid/commitlint-github-action@v5 + env: + NODE_PATH: ${{ github.workspace }}/node_modules