Skip to content

Commit

Permalink
Create testing1206.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gowridurgad authored Jan 28, 2025
1 parent 93a3552 commit 29ca920
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/testing1206.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Code Validation

on:
workflow_call:

env:
node_version: 20

jobs:
tests:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: 'yarn'

- uses: actions/cache@v4
id: npm-cache
with:
path: node_modules
key: ${{ runner.os }}-${{ env.node_version }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-${{ env.node_version }}-node-

- name: Install
if: steps.npm-cache.outputs.cache-hit != 'true'
run: yarn

0 comments on commit 29ca920

Please sign in to comment.