Skip to content

Commit

Permalink
feat: build on macos-14 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyTseng authored Feb 9, 2024
1 parent 2de6ca2 commit 5b22b68
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on: [push, pull_request]
on: [pull_request]

jobs:
build_on_linux:
Expand All @@ -26,6 +26,18 @@ jobs:
- name: build
run: npm run make

build_on_mac_arm:
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: build
run: npm run make

build_on_win:
runs-on: windows-latest
steps:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_mac_arm:
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_win:
runs-on: windows-latest
steps:
Expand Down

0 comments on commit 5b22b68

Please sign in to comment.