chore(deps): update dependency @types/nodemailer to v6.4.17 #170
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the develop branch | |
pull_request: | |
branches: | |
# - master | |
- "*" # matches every branch that doesn't contain a '/' | |
- "*/*" # matches every branch containing a single '/' | |
- "**" # matches every branch | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# env: | |
# GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }} | |
jobs: | |
playwright: | |
name: "Playwright Tests" | |
runs-on: ubuntu-22.04 | |
container: node:20-bookworm-slim | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_DB: translo | |
POSTGRES_USER: usr | |
POSTGRES_PASSWORD: pwd | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Copy enviroment | |
run: cp .env.github .env.local | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
version: 8 | |
run_install: false | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run your tests | |
run: pnpm test:e2e:ci | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |