Skip to content

Commit

Permalink
Implement CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Bozzo authored and Lucas Bozzo committed Apr 28, 2024
1 parent c228047 commit e050277
Show file tree
Hide file tree
Showing 5 changed files with 2,051 additions and 1,496 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@ on:
- main

jobs:
migrate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run db:generate
- run: npm run db:migrate
deploy:
needs: migrate
runs-on: ubuntu-latest
name: Deploy
steps:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/migrate.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dist
.dev.vars

# Change them to your taste:
package-lock.json
yarn.lock
pnpm-lock.yaml
bun.lockb
Loading

0 comments on commit e050277

Please sign in to comment.