Chore(deps-dev): Bump @testing-library/jest-dom from 6.2.1 to 6.3.0 #283
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Application | |
on: [pull_request] | |
env: | |
NODE_VERSION: 20.x | |
jobs: | |
build: | |
name: Build application with Node.js | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Get NPM Cache Directory | |
id: npm-cache-dir | |
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT | |
- name: Restore NPM Cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: ${{ steps.npm-cache-dir.outputs.dir }} | |
key: node-cache-${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
# If source files changed but packages didn't, rebuild from a prior cache. | |
restore-keys: | | |
node-cache-${{ runner.os }}-npm- | |
- name: Setup Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install Dependencies | |
run: npm ci --cache ${{ steps.npm-cache-dir.outputs.dir }} --prefer-offline | |
- name: Build Application | |
run: npm run build |