mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 12:41:45 +02:00
25 lines
684 B
Plaintext
25 lines
684 B
Plaintext
name: E2E Tests
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GH_DEPLOY_KEY: ${{ secrets.GH_DEPLOY_KEY }}
|
|
steps:
|
|
- run: echo "CI=true" >> $GITHUB_ENV
|
|
- name: Checkout 🛎️
|
|
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Use Node.js 12.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
- run: npm install
|
|
- uses: microsoft/playwright-github-action@v1
|
|
- name: Running tests
|
|
run: npm test
|