Merge pull request #71 from aragon/OS-1134/fix-GH-actions-to-run-over… #82
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: Configs Tests | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
paths: | |
- 'configs/**' | |
- '.github/workflows/configs-*.yml' | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
formatting-linting: | |
uses: ./.github/workflows/formatting-linting.yml | |
tests: | |
runs-on: 'ubuntu-latest' | |
defaults: | |
run: | |
working-directory: configs | |
steps: | |
- name: 'Check out the repo' | |
uses: 'actions/checkout@v3' | |
- name: 'Install Node.js' | |
uses: 'actions/setup-node@v3' | |
with: | |
cache: 'yarn' | |
node-version: 18 | |
- name: 'Install the dependencies' | |
run: 'yarn install --frozen-lockfile' | |
- name: 'Build the configs' | |
run: 'yarn build' | |
- name: 'Test the configs' | |
run: 'yarn test >> $GITHUB_STEP_SUMMARY' |