From 810acdb98503c0580c4b899f8a2559714fbb203a Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Mon, 3 Apr 2023 14:24:52 +0800 Subject: [PATCH] Try to update install command for studio test and prettier workflows --- .github/workflows/prettier.yml | 2 +- .github/workflows/studio-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index aef4d8f166d..f6117e7663b 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -58,7 +58,7 @@ jobs: - name: Check out repo uses: actions/checkout@v3 - name: Install plugin - run: npm ci + run: npm ci --no-optional - name: Run prettier run: |- # Check mdx files which contain sql code blocks diff --git a/.github/workflows/studio-tests.yml b/.github/workflows/studio-tests.yml index 11fda1e766c..9e9711b9578 100644 --- a/.github/workflows/studio-tests.yml +++ b/.github/workflows/studio-tests.yml @@ -31,7 +31,7 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Install deps - run: npm ci + run: npm ci --no-optional working-directory: ./ - name: Run tests run: npm run test:studio