Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

feat: add user login and registration #78

Merged
merged 8 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 2 additions & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
workflow_dispatch:

env:
RUSTFLAGS: '-Dwarnings'
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
Expand Down Expand Up @@ -103,31 +102,10 @@ jobs:
DATABASE_URL: postgres://admin:password@localhost:5432/spaced
SQLX_OFFLINE: true

build_app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
if: always()
with:
name: app
path: dist

build_docker:
runs-on: ubuntu-latest
needs: build_app
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: app
path: dist
- uses: docker/bake-action@v4
- run: docker images
- run: docker save $(docker images --filter "reference=spaced/*" --format "{{.Repository}}:{{.Tag}}") -o images.tar
Expand All @@ -148,11 +126,12 @@ jobs:
name: docker images
path: .
- run: docker load -i images.tar
- run: docker compose --profile services up -d
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm run build
- run: docker compose --profile services up -d
- run: npx playwright install --with-deps
- run: npm run e2e
- uses: actions/upload-artifact@v4
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading