Remove psycopg2-binary due to FIPS restrictions #1717
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: Frontend CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Caching npm with setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install npm dependencies | |
run: npm ci | |
- name: run commit title format check | |
run: ./tools/ci/check_for_commit_message.sh | |
- name: run npm version checker | |
run: npm run check-pinned-versions | |
- name: run npm license checker | |
run: npm run check-license | |
- name: run npm absolute path detection | |
run: npm run check-absolute-paths | |
- name: run js lint | |
run: npm run lint | |
- name: run style lint | |
run: npm run style-lint | |
- name: run js tests | |
run: | | |
# https://jestjs.io/docs/en/troubleshooting.html#tests-are-extremely-slow-on-docker-andor-continuous-integration-ci-server | |
sed -i 's/"test": "jest"/"test": "jest --runInBand"/g' package.json | |
npm run test |