From 109e879c15922fc9a5e79e04ccf40d5704a98696 Mon Sep 17 00:00:00 2001 From: John DeAngelis Date: Thu, 7 Nov 2024 14:44:24 -0500 Subject: [PATCH] build: re-use setup-javascript Signed-off-by: John DeAngelis --- .github/workflows/release.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index debe736501..abd695ef9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,15 +21,12 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: "lts/*" - - name: Install dependencies - working-directory: ./frontend - run: bun install + + # Install and cache NPM dependencies + - uses: ./.github/actions/setup-javascript + - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - working-directory: ./frontend + working-directory: frontend run: bun run semantic-release