Skip to content

Commit 1d34922

Browse files
committed
Added action yaml file
1 parent a62577a commit 1d34922

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Install Dependencies"
2+
description: "Installs project dependencies"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Setup Node.js
7+
uses: actions/setup-node@v3
8+
with:
9+
node-version: 20
10+
cache: 'yarn'
11+
12+
- name: Install dependencies
13+
run: yarn install --frozen-lockfile
14+
shell: bash

.github/workflows/code-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
16+
1617
- name: Install dependencies
1718
uses: ./.github/actions/install-dependencies
1819
env:
1920
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
2022
- name: Run unit tests
2123
run: yarn jest --coverage --forceExit --maxWorkers=2
2224
continue-on-error: false

0 commit comments

Comments
 (0)