Skip to content

Commit 4d9bcee

Browse files
Streamline E2E test workflow by removing explicit Rollup installation and updating npm ci command
1 parent 1f58b16 commit 4d9bcee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-node@v4
1919
with: { node-version: 20, cache: npm }
20-
- run: npm ci --omit=optional
20+
- run: npm ci
21+
- run: |
22+
node - <<'NODE'
23+
const v = require('./package.json').devDependencies.rollup ?? 'latest';
24+
console.log('ℹ Installing native Rollup helper for', v);
25+
NODE
26+
- run: npm install --no-save @rollup/rollup-linux-x64-gnu@$(node -p "require('./package.json').devDependencies.rollup || '4'")
2127

2228
- uses: supabase/setup-cli@v1
2329
with: { version: 2.24.3 }

0 commit comments

Comments
 (0)