From 2d57abac425e0b92e84fe83fdcc7eb6093f33839 Mon Sep 17 00:00:00 2001 From: jean Date: Tue, 30 Jan 2024 10:19:12 +0100 Subject: [PATCH] fix: add --workspace CI run test flag to other workspaces --- .github/workflows/estree-ast-utils.yml | 2 +- .github/workflows/sec-literal.yml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/estree-ast-utils.yml b/.github/workflows/estree-ast-utils.yml index d120e6c..3831710 100644 --- a/.github/workflows/estree-ast-utils.yml +++ b/.github/workflows/estree-ast-utils.yml @@ -38,4 +38,4 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install - - run: npm test + - run: npm run test --workspace=workspaces/estree-ast-utils diff --git a/.github/workflows/sec-literal.yml b/.github/workflows/sec-literal.yml index b904301..26cf22a 100644 --- a/.github/workflows/sec-literal.yml +++ b/.github/workflows/sec-literal.yml @@ -23,7 +23,5 @@ jobs: uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npm install - - name: Run tests - run: npm run test + - run: npm install + - run: npm run test --workspace=workspaces/sec-literal