Skip to content

feat(container/api-test): testcontainer setup for api #5798

feat(container/api-test): testcontainer setup for api

feat(container/api-test): testcontainer setup for api #5798

Workflow file for this run

name: Run Unit Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DATO_CMS_API_URL: ${{ vars.DATO_CMS_API_URL }}
DATO_CMS_API_TOKEN: ${{ secrets.DATO_CMS_API_TOKEN }}
NEXT_PUBLIC_API_URL: ${{ vars.NEXT_PUBLIC_API_URL }}
NEXT_PUBLIC_BASE_URL: ${{ vars.NEXT_PUBLIC_BASE_URL }}
SSG_DOCUMENTS_API_KEY: ${{ secrets.SSG_DOCUMENTS_API_KEY }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn test