#4232 signer modal component #7221
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
node: ["14.x"] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
services: | |
db: | |
image: postgres | |
env: { POSTGRES_PASSWORD: "postgres" } | |
ports: ["5432:5432"] | |
# Set health checks to wait until Postgres has started | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Verify formatting | |
run: yarn lint | |
- name: Build | |
run: yarn ci-build | |
env: | |
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres | |
- name: Run tests | |
run: yarn ci-test --silent | |
env: | |
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres |