From 5704300d75c27765b1d855f66d6477ceeca383c4 Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Sat, 29 Oct 2022 20:10:39 +0200 Subject: [PATCH] update --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e57b49..d2e0f1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm i + - run: | + if [ -e yarn.lock ]; then + yarn install --frozen-lockfile + elif [ -e package-lock.json ]; then + npm ci + else + npm i - run: npm run build --if-present - run: npm run test:io