Skip to content

Commit 48712b8

Browse files
authored
chore: gh-actions to run latest node & deploy mac resources for intel and apple (#140)
1 parent acd1653 commit 48712b8

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.github/actions/release/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ inputs:
5353
required: false
5454

5555
runs:
56-
using: node16
56+
using: node20
5757
main: index.js
5858

5959
branding:

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Node.js, NPM and Yarn
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 18
20+
node-version: latest
2121

2222
- name: Installing dependencies
2323
run: yarn

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Travis-ci build Status](https://travis-ci.com/moshfeu/y2mp3.svg?branch=master)](https://travis-ci.com/moshfeu/y2mp3)
1+
[![Build/release](https://github.com/moshfeu/y2mp3/actions/workflows/build.yml/badge.svg)](https://github.com/moshfeu/y2mp3/actions/workflows/build.yml)
22
[![Wallaby.js](https://img.shields.io/badge/wallaby.js-configured-green.svg)](https://wallabyjs.com)
33
[![Release version](https://img.shields.io/github/release/moshfeu/y2mp3.svg)](https://github.com/moshfeu/y2mp3/releases/latest)
44
[![Github All Releases](https://img.shields.io/github/downloads/moshfeu/y2mp3/total.svg)](https://github.com/moshfeu/y2mp3/releases)

package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,14 @@
106106
"assets/**"
107107
],
108108
"mac": {
109-
"icon": "resources/icons/mac/icon.icns"
109+
"icon": "resources/icons/mac/icon.icns",
110+
"target": {
111+
"target": "default",
112+
"arch": [
113+
"x64",
114+
"arm64"
115+
]
116+
}
110117
},
111118
"dmg": {
112119
"icon": "resources/icons/mac/icon.icns",

0 commit comments

Comments
 (0)