Skip to content

Store logs in S3 bucket #592

Store logs in S3 bucket

Store logs in S3 bucket #592

Workflow file for this run

name: Run yarn test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgis/postgis:17-3.5
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
env:
NODE_AUTH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NPM_REGISTRY_URL: https://npm.pkg.github.com
NPM_TOKEN: ${{ secrets.ACCESS_TOKEN }}
steps:
- uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 24
always-auth: true
auth-token: ${{secrets.ACCESS_TOKEN}}
registry-url: 'https://npm.pkg.github.com'
scope: '@openforis'
- run: yarn
- run: yarn install --immutable
- run: yarn test
env:
PGHOST: localhost
PGPORT: 5444
PGDATABASE: arena
PGUSER: arena
PGPASSWORD: arena