Added data query table and modules #224
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: Run yarn test | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgis/postgis:12-3.0 | |
env: | |
POSTGRES_USER: arena | |
POSTGRES_PASSWORD: arena | |
POSTGRES_DB: arena | |
ports: | |
- 5444:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
always-auth: true | |
auth-token: ${{secrets.ACCESS_TOKEN}} | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@openforis' | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
NPM_REGISTRY_URL: https://npm.pkg.github.com | |
- run: yarn | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
NPM_REGISTRY_URL: https://npm.pkg.github.com | |
- run: yarn test | |
env: | |
PGHOST: localhost | |
PGPORT: 5444 | |
PGDATABASE: arena | |
PGUSER: arena | |
PGPASSWORD: arena |