Skip to content

Commit

Permalink
pr build
Browse files Browse the repository at this point in the history
  • Loading branch information
GodYazza committed Sep 26, 2024
1 parent 7ef7627 commit 4236264
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: PR Build

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js (for Node projects)
uses: actions/setup-node@v3
with:
node-version: '18' # Choose your node version

- name: Install dependencies
working-directory: ./web
run: npm install


- name: Build project
working-directory: ./web
run: npm run build

- name: Install dependencies
working-directory: ./api
run: npm install


- name: Build project
working-directory: ./api
run: npm run build

0 comments on commit 4236264

Please sign in to comment.