Skip to content

give up on logging, update MOTD, try dymamic auth from GH keys #603

give up on logging, update MOTD, try dymamic auth from GH keys

give up on logging, update MOTD, try dymamic auth from GH keys #603

Workflow file for this run

name: Test
on: [push, pull_request]
env:
INTERNAL_CONTRIBUTOR: ${{ secrets.DOCKERHUB_USERNAME && 'true' }}
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm ci
- run: npm ci
working-directory: ./couch2pg
- run: npm run lint
- run: npm run test
e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: ${{ env.INTERNAL_CONTRIBUTOR }}
- run: npm ci
- name: Run e2e tests
run: npm run test:e2e