From ec432e8fd40d3182105612fe8fdf3899f5f0dd2a Mon Sep 17 00:00:00 2001 From: Mitch Chanza Date: Tue, 17 Sep 2024 11:28:51 +0200 Subject: [PATCH] chore: update GitHub Actions validation workflow for Node.js and pnpm version upgrades and improved job naming --- .github/workflows/validation.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 282550a..96593b8 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -9,19 +9,20 @@ on: - 'components/**' jobs: - build: + validation: runs-on: ubuntu-latest + name: Validate Code Base defaults: run: working-directory: ./components steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 20 - name : Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4.0.0 with: version: 9.6.0 run_install: false @@ -32,7 +33,7 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 name: Setup pnpm cache with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}