mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-17 03:49:23 +01:00
Fix playwright tests (#2325)
* Fix cleanupDBs.js: use async iteration for Azure SDK paged results * update node version * fix cleanup script to use new Cosmos SDK APIs correctly * get rid of global crypto * fix flakiness * revert DE pipeline to use Node 18 * nit --------- Co-authored-by: Asier Isayas <aisayas@microsoft.com>
This commit is contained in:
10
.github/workflows/cleanup.yml
vendored
10
.github/workflows/cleanup.yml
vendored
@@ -22,18 +22,18 @@ jobs:
|
||||
env:
|
||||
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: "Az CLI login"
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.E2E_TESTS_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
|
||||
- name: Use Node.js 18.x
|
||||
uses: actions/setup-node@v1
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version: 20.x
|
||||
- run: npm ci
|
||||
- run: node utils/cleanupDBs.js
|
||||
Reference in New Issue
Block a user