Skip to content

Commit

Permalink
add workflow for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
JovannMC committed Nov 16, 2024
1 parent f403524 commit 405b17b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build application (macOS)

on:
push:
branches:
- main
paths:
- ".github/workflows/build-mac.yml"
- package.json
workflow_dispatch:
create:

jobs:
build:
runs-on: macos-latest

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

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"

- name: Install Node.js dependencies
run: npm install

- name: Build the application
run: npm run build

- name: Archive build artifacts for macOS
uses: actions/upload-artifact@v3
with:
name: build-artifacts-macos
path: build/*darwin*

0 comments on commit 405b17b

Please sign in to comment.