refactor: create actions/setup-dependencies/action #1000
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: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Setup dependencies | |
| uses: ./.github/actions/setup-dependencies | |
| - name: Run validation | |
| run: yarn validate | |
| - name: Run tests | |
| run: yarn test |