Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b15603c

Browse files
authoredDec 26, 2023
use node:test in postcss-tape (#1224)
1 parent a1755b6 commit b15603c

File tree

200 files changed

+2051
-2435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+2051
-2435
lines changed
 

‎.github/bin/new-plugin.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ console.log(`- Creating new plugin ${pluginName}`);
5252
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, 'src', 'index.ts'));
5353
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, 'test', '_import.mjs'));
5454
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, 'test', '_require.cjs'));
55-
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, '.tape.mjs'));
55+
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, 'test', '_tape.mjs'));
5656
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, 'README.md'));
5757
await replaceBasePluginReferencesForFilePath(path.join(pluginDir, 'INSTALL.md'));
5858
await fsp.writeFile(

‎.github/workflows/test.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040

4141
- name: npm ci
4242
run: |
43-
npm ci --ignore-scripts
43+
npm ci
44+
env:
45+
BROWSER_TESTS: true
4446
if: ${{ (matrix.is_base_node_version && matrix.is_base_os_version) }}
4547

4648
- name: npm ci
@@ -85,14 +87,6 @@ jobs:
8587
NPM_CONFIG_ENGINE_STRICT=false npm install --ignore-scripts
8688
npm run test:cli --if-present $MODIFIED_WORKSPACES
8789
88-
# Browser Tests
89-
# running "npm ci" again, but allowing scripts so that Chrome is installed
90-
- name: test:browser
91-
run: |
92-
npm ci
93-
npm run test:browser --if-present $MODIFIED_WORKSPACES
94-
if: matrix.is_base_node_version && matrix.is_base_os_version
95-
9690
# E2E Tests
9791
- name: test:e2e
9892
run: |

0 commit comments

Comments
 (0)
Please sign in to comment.