Skip to content

Commit

Permalink
chore: update GitHub Actions validation workflow for Node.js and pnpm…
Browse files Browse the repository at this point in the history
… version upgrades and improved job naming
  • Loading branch information
mitch1009 committed Sep 17, 2024
1 parent f299995 commit ec432e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit ec432e8

Please sign in to comment.