Skip to content

Commit

Permalink
build: fix build release
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Jun 27, 2024
1 parent 5f643a8 commit bf840c2
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,15 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_ENV: test
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
MYSQL_PORT: 3306
DATABASE_URL: mysql://root:[email protected]:3306/test
ADMIN_PASSWORD: admin_password
CONVERTKIT_API_KEY: api_key
CONVERTKIT_FORM_ID: form_id
steps:
- uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: Start MySQL database
run: yarn workspace @snipcode/domain db:test

- name: Lint the projects
run: yarn lint

Expand All @@ -46,9 +40,7 @@ jobs:
run: sudo systemctl start mysql.service

- name: Run tests
run: |
yarn prisma migrate dev --schema=packages/domain/prisma/schema.prisma
yarn test
run: yarn test -- --runInBand

version:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bf840c2

Please sign in to comment.