diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55fa255..a258075 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: npm ci + - run: npm ci --include=dev # Step to retrieve the bearer token - name: Retrieve bearer token @@ -24,6 +24,9 @@ jobs: token=$(echo $response | jq -r '.access_token') echo "BEARER_TOKEN=${token}" >> $GITHUB_ENV + - name: Check Packages + run: ls node_modules/.bin + # Use the bearer token as an environment variable in the npm test command - name: Run npm test with bearer token run: npm run test