Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Jun 18, 2024
1 parent cef6f31 commit 1efb5dc
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ jobs:
- name: Install dependencies
run: |
poetry install --with test
- name: Install golang-migrate
run: |
wget -O golang-migrate.deb https://github.com/golang-migrate/migrate/releases/download/v4.17.0/migrate.linux-amd64.deb
sudo dpkg -i golang-migrate.deb && rm golang-migrate.deb
- name: Run tests
env:
POSTGRES_HOST: localhost
Expand All @@ -84,22 +80,22 @@ jobs:
run: make test

frontend-lint-and-build:
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js (LTS)
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
- name: Install frontend dependencies
run: yarn install
working-directory: ./frontend
- name: Run frontend lint
run: yarn lint
working-directory: ./frontend
- name: Build frontend
run: yarn build
working-directory: ./frontend
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js (LTS)
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "yarn"
cache-dependency-path: frontend/yarn.lock
- name: Install frontend dependencies
run: yarn install
working-directory: ./frontend
- name: Run frontend lint
run: yarn lint
working-directory: ./frontend
- name: Build frontend
run: yarn build
working-directory: ./frontend

0 comments on commit 1efb5dc

Please sign in to comment.