Cleanup test resources #322
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Cleanup test resources' | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
cleanup: | |
name: Delete all indexes and collections in sdk-node-testing project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Cleanup | |
run: npm run test:integration:cleanup | |
env: | |
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} |