Merge pull request #1483 from rocket-admin/backend_aws_bedrock #3265
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: backend | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "frontend/**" | |
| pull_request: | |
| paths-ignore: | |
| - "frontend/**" | |
| jobs: | |
| test: | |
| runs-on: | |
| labels: ubuntu-latest-8-cores | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: extractions/setup-just@v1 | |
| - name: run tests | |
| run: just test | |
| timeout-minutes: 50 | |
| license: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: earthly/actions/setup-earthly@v1 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - uses: extractions/setup-just@v1 | |
| - name: license checker | |
| run: 'cd backend && npx license-checker --onlyAllow="MIT;ISC;Python-2.0;Apache-2.0;BSD;MPL;CC;Custom: http://github.com/dscape/statsd-parser;" --excludePrivatePackages' |