From 49532a8797eb4d15d2a803feb620a1a8763b152f Mon Sep 17 00:00:00 2001 From: Tom Vincent Date: Thu, 13 Jun 2024 18:22:50 +0100 Subject: [PATCH] ci: LTS node, enable caching --- .github/workflows/pull-requests.yml | 3 +++ .github/workflows/releases.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index d63e55f..947f46b 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -7,4 +7,7 @@ jobs: - uses: actions/checkout@v4 - uses: wagoid/commitlint-github-action@v6 - uses: actions/setup-node@v4 + with: + cache: npm + node-version: lts/* - run: npm cit diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 9e6b090..ac662f6 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -11,6 +11,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 + with: + cache: npm + node-version: lts/* - run: npm cit - run: npm run semantic-release env: