From 6a55ca3249c845a781407720bfc7f71905642db4 Mon Sep 17 00:00:00 2001 From: Matthew McEachen Date: Sat, 20 Jul 2024 20:25:51 -0700 Subject: [PATCH] tweak test action to use `yarn install` instead of `yarn ci` --- .github/workflows/node.js.yml | 2 +- package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 90e6733..3b47f1d 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -33,5 +33,5 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: yarn ci + - run: yarn install - run: yarn test diff --git a/package.json b/package.json index 6f324a7..59fd3c2 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ }, "scripts": { "u": "yarn npm-check-updates --upgrade --install always", - "ci": "yarn install --frozen-lockfile", "clean": "rimraf lib dist coverage .nyc_output", "precompile": "yarn clean", "compile": "tsc", @@ -20,13 +19,13 @@ "prelint": "yarn compile", "lint": "yarn eslint src --ext .ts", "prettier": "prettier --write src/*.ts src/**/*.ts", - "pretest": "yarn run-p lint compile", + "pretest": "yarn compile", "test": "mocha 'dist/*.spec.js'", "docs:1": "typedoc --options .typedoc.js", "docs:3": "cp .serve.json docs/serve.json", "docs:4": "touch docs/.nojekyll", "docs:5": "yarn serve docs", - "docs": "yarn run-s docs:*" + "docs": "run-s docs:*" }, "repository": { "type": "git",