-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (29 loc) · 1.01 KB
/
e2e-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: E2E Tests
on: [push]
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 6.32.9
- name: Install dependencies
run: pnpm install --force
- name: Static validation
run: pnpm run static:validate
- name: Cypress run
uses: cypress-io/github-action@master
env:
NOTION_EXTENSION_TOKEN: ${{ secrets.NOTION_EXTENSION_TOKEN }}
NOTION_BROWSER_TOKEN: ${{ secrets.NOTION_BROWSER_TOKEN }}
NOTION_RESOURCES_DB_ID: ${{ secrets.NOTION_RESOURCES_DB_ID }}
NOTION_BLOG_DB_ID: ${{ secrets.NOTION_BLOG_DB_ID }}
NOTION_STACK_DB_ID: ${{ secrets.NOTION_STACK_DB_ID }}
NOTION_HANDBOOKS_DB_ID: ${{ secrets.NOTION_HANDBOOKS_DB_ID }}
NOTION_PROJECTS_DB_ID: ${{ secrets.NOTION_PROJECTS_DB_ID }}
with:
build: pnpm run build
start: pnpm run start