Release 1.5.2 #4281
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
# GitHub action to build | |
name: Build | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
env: | |
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres | |
NEXTAUTH_URL: http://localhost:4002 | |
NEXTAUTH_SECRET: secret | |
NEXTAUTH_SESSION_STRATEGY: database | |
AUTH_PROVIDERS: github,credentials,saml,idp-initiated | |
FEATURE_TEAM_SSO: true | |
FEATURE_TEAM_DSYNC: true | |
FEATURE_TEAM_AUDIT_LOG: true | |
FEATURE_TEAM_WEBHOOK: false | |
FEATURE_TEAM_API_KEY: true | |
FEATURE_TEAM_DELETION: true | |
FEATURE_TEAM_PAYMENTS: true | |
CONFIRM_EMAIL: false | |
HIDE_LANDING_PAGE: false | |
GROUP_PREFIX: boxyhq- | |
DISABLE_NON_BUSINESS_EMAIL_SIGNUP: false | |
APP_URL: http://localhost:4002 | |
JACKSON_PRODUCT_ID: boxyhq | |
JACKSON_WEBHOOK_SECRET: your-webhook-secret | |
JACKSON_API_KEY: secret | |
DEBUG: pw:webserver | |
services: | |
postgres: | |
image: postgres:16.4 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_PASSWORD: '' | |
POSTGRES_HOST_AUTH_METHOD: 'trust' | |
# Set health checks to wait until postgres has started | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
mocksaml: | |
image: boxyhq/mock-saml:1.3.9 | |
ports: | |
- 4000:4000 | |
env: | |
APP_URL: http://localhost:4000 | |
ENTITY_ID: https://saml.example.com/entityid | |
PUBLIC_KEY: 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURiVENDQWxXZ0F3SUJBZ0lVUWR0Q05FRnRGYWF6OUt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lQrRW44Ck01Mi9TQm9talQzV1NEVFd0Y1l6NHNuRmp2RnRERXkxOVFLTjhiMllIUXhXQkNPUHA5a2VQQ2hsSSt4SzRLc1YKQi9DNVBNK1VhYlNCeE9iWk5PbU0vMWo1ZWttNjFFWFBtdVRUeWdCZG00ZGoyQ2VJMnNQN3FBblZtUUtCZ1FDZgp0T0N5OE9ETWxLWG1tTnNyQzNUOWhkeE9KQlBDU3haMmhRck5WUkZMSlB4WG5RU0pNTkRZcEptMjdPQnNNNm5uCnV5QSs4SVhoQlc0Lzk3M3FRK0htVXExK05rN3VIZURHSStKUEpoN2w1OEY3SFlaYWxhNFdsbTZ4azVjMm9WaHcKSUVoclUzNkpFM0lxK1ZyREFNazhlS3hyUGNvblc2cllObU4xQ0M4eG5RS0JnUURiOGZTeDBQcHg1WisxL2tCMwpxVGc2RDJYY1YyZGVWNFdsOS9JQ2owRHFqaGpXekJjaThuTjUyb3ZoSmVXcFVxWnJ1eStVWTg2cVRuK09oNGVJClNkZFRBb0F2cU1sL2gzVzdCRUdad2NsclRJSWRqTHVmK0FuRGN5S0lKY21CUG9JZGsydzZ4dkNWczJqbmdEOTMKcjZ0R3VoNHlvM2pIRkRTR0Y3dDdCRk5RSEE9PQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==' | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- run: npm run check-lint | |
- run: npm run check-format | |
- run: npm run check-locale | |
- run: npm run test | |
- run: npm run build-ci | |
- run: npm run check-types | |
- run: npx prisma migrate deploy | |
- name: Install playwright browser dependencies | |
run: npx playwright install chromium | |
- name: e2e tests | |
run: npx playwright test | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 2 |