Skip to content

Commit

Permalink
chore: Added test build action
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Oct 8, 2024
1 parent 720ef27 commit c1bc41c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:
pull_request:

jobs:
lint:
api:
runs-on: ubuntu-latest
name: API
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -20,7 +21,23 @@ jobs:
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run api
- name: Lint
run: pnpm lint api
- name: Run artisan
api:
runs-on: ubuntu-latest
name: Artisan
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint artisan
26 changes: 26 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test Build

on:
push:
pull_request:
workflow_dispatch:

jobs:
run:
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build

0 comments on commit c1bc41c

Please sign in to comment.