test: Split app build and pg_regress #1
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: app build & lint | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- 'devops/**' # Ignore any branch prefixed with devops/ | |
pull_request: | |
branches-ignore: | |
- 'devops/**' # Ignore any branch prefixed with devops/ | |
jobs: | |
build-app: | |
runs-on: ubuntu-20.04 | |
container: | |
image: node:20.10-alpine | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build app | |
run: | | |
cd app | |
npm ci | |
npm test -- --ci --silent | |
npm run lint -- --quiet | |
npm run build -- --no-lint |