We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a62577a commit 1d34922Copy full SHA for 1d34922
2 files changed
.github/install-dependencies/action.yml
@@ -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
@@ -13,10 +13,12 @@ jobs:
- uses: actions/checkout@v3
with:
15
fetch-depth: 0
16
17
- name: Install dependencies
18
uses: ./.github/actions/install-dependencies
19
env:
20
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
22
- name: Run unit tests
23
run: yarn jest --coverage --forceExit --maxWorkers=2
24
continue-on-error: false
0 commit comments