testdriverai 5.7.27 → 5.7.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,13 +5,17 @@ jobs:
|
|
|
5
5
|
runs-on: ubuntu-latest
|
|
6
6
|
steps:
|
|
7
7
|
- uses: actions/checkout@v2
|
|
8
|
+
with:
|
|
9
|
+
# We need to fetch the full history to check for changes since `main`
|
|
10
|
+
fetch-depth: 0
|
|
8
11
|
- name: Set up Node.js
|
|
9
12
|
uses: actions/setup-node@v2
|
|
10
13
|
with:
|
|
11
14
|
node-version: 20
|
|
12
|
-
- name: npm
|
|
13
|
-
run: npm
|
|
15
|
+
- name: npm ci
|
|
16
|
+
run: npm ci --ignore-scripts
|
|
14
17
|
- name: Run ESLint
|
|
15
|
-
run: npx eslint
|
|
18
|
+
run: npx eslint . --max-warnings 0
|
|
19
|
+
# Only check files that have been Added/Created/Modified/Renamed/Type-changed since `main`
|
|
16
20
|
- name: Run Prettier
|
|
17
|
-
run: npx prettier
|
|
21
|
+
run: git diff --name-only --diff-filter=ACMRT origin/main HEAD | xargs -r npx prettier --check --ignore-unknown
|