refactor: create actions/setup-dependencies/action #995
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| # Build on PR creation/updates, also when pushing to main/develop, or create a release | |
| pull_request: | |
| types: [opened, synchronize] | |
| push: | |
| branches: [main, develop] | |
| tags: [v*] | |
| jobs: | |
| validate: | |
| name: Validate list schema | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup dependencies | |
| uses: ./.github/actions/setup-dependencies | |
| with: | |
| persist_credentials: false | |
| - name: Run validation | |
| run: yarn validate | |
| - name: Run tests | |
| run: yarn test |