-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
it is possible, because this package uses github actions to test itself, and a (production ready) example can be seen with the project typegoose which uses this package most relevant parts from typegoose's example: see also: PS: i will convert this issue to a discussion
if it still happens after looking at the examples and changing what is "obvious", please provide a reproduction repository (or the actual repository where it happens, if possible) and / or the error |
Beta Was this translation helpful? Give feedback.
-
name: End to End Tests
on:
push:
branches:
- '*' # run to all branches
jobs:
e2e-check:
name: Testing Endpoints
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup yarn
run: npm install -g yarn
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run Audit
run: (yarn audit || exit 0)
- name: Run end to end tests
run: yarn test:e2e Hi, how do i structure my ymal file for this to work? |
Beta Was this translation helpful? Give feedback.
it is possible, because this package uses github actions to test itself, and a (production ready) example can be seen with the project typegoose which uses this package
most relevant parts from typegoose's example:
see also:
PS: i will convert this issue to a discussion
if it still happens after looking at the examples and changing what is "obvious", please provide a reproduction repository (or the actual repository where it happens, if po…