Loaders Test #374
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: Loaders Test | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'loader-tests/test-loaders.ts' | |
- 'loader-tests/utils.ts' | |
- 'loader-tests/feeds.yml' | |
- 'core/loader/*.ts' | |
- 'pnpm-lock.yaml' | |
- '.github/workflows/test-loaders.yml' | |
- '.github/actions/init-node/action.yml' | |
pull_request: | |
paths: | |
- 'loader-tests/test-loaders.ts' | |
- 'loader-tests/utils.ts' | |
- 'loader-tests/feeds.yml' | |
- 'core/loader/*.ts' | |
- 'pnpm-lock.yaml' | |
- '.github/workflows/test-loaders.yml' | |
- '.github/actions/init-node/action.yml' | |
schedule: | |
- cron: '00 23 * * *' # Runs at midnight UTC every day | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/[email protected] | |
- name: Initialize Node.js | |
uses: ./.github/actions/init-node | |
- name: Run tests | |
run: node --run test-loaders |