Delete in bulk from R2 to avoid worker request limits. (#23) #109
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
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- README.md | |
- swagger.json | |
pull_request: | |
paths-ignore: | |
- README.md | |
- swagger.json | |
name: Run tests | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
- name: Restore the node modules | |
uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: modules-${{ hashFiles('**/package.json') }} | |
- name: Install packages | |
run: npm i --include-dev | |
- name: Run tests | |
run: npm run test |