Skip to content

Fix removal of user leaking permissions to public user #1016

Fix removal of user leaking permissions to public user

Fix removal of user leaking permissions to public user #1016

Workflow file for this run

name: End-to-end test
on:
pull_request:
types:
- opened
- ready_for_review
- synchronize
branches:
- main
- staging
workflow_dispatch:
jobs:
run_e2e_tests:
name: Run E2E Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./projects/bp-strapi
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: abc1234
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Build bp-graphql
run: yarn install --frozen-lockfile && tsc
working-directory: ./projects/bp-graphql
- name: Install strapi dependencies
run: yarn install --frozen-lockfile
- name: Install bp-gallery dependencies
run: |
cd ../bp-gallery
yarn install --frozen-lockfile
cd ../bp-strapi
- name: Run E2E script
run: ./e2e/setup.sh
env:
PGPASSWORD: ${{ secrets.E2E_DB_PASSWORD }}
- name: Store screenshots and videos
if: always()
uses: actions/upload-artifact@v3
with:
name: screenshots-and-videos
path: |
projects/bp-gallery/cypress/screenshots/**/*
projects/bp-gallery/cypress/videos/**/*