From 9877ba71dc9bd8e4d0e654919fe38f7c6a93a3ca Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Fri, 1 Mar 2024 16:35:17 -0500 Subject: [PATCH] :rocket: update github actions --- .github/workflows/astro.yml | 12 +++++++----- .github/workflows/release.yml | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml index a60a578..da0ff7e 100644 --- a/.github/workflows/astro.yml +++ b/.github/workflows/astro.yml @@ -13,12 +13,14 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v3 - - - name: Setup Node - uses: actions/setup-node@v3 + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: "lts/*" - name: Cache dependencies uses: actions/cache@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 068c27b..b0df80c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,11 @@ jobs: id-token: write # to enable use of OIDC for npm provenance steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "lts/*" - name: Install dependencies