Skip to content

Commit 4b7eb3c

Browse files
committed
ci: fix github action
1 parent 07b0c87 commit 4b7eb3c

File tree

4 files changed

+359
-169
lines changed

4 files changed

+359
-169
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: 18
19-
- run: npm i -g yarn
20-
- run: yarn install
18+
node-version: 20
19+
- name: Enable Corepack
20+
run: corepack enable
21+
- name: Run install
22+
uses: borales/actions-yarn@v4
23+
with:
24+
cmd: install
2125
- run: yarn lint
2226
- run: yarn zip
2327
# Add publishing steps

.github/workflows/safari.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ jobs:
1414
fetch-depth: 0
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 18
18-
- run: npm i -g yarn
19-
- run: yarn install
17+
node-version: 20
18+
- name: Enable Corepack
19+
run: corepack enable
20+
- name: Run install
21+
uses: borales/actions-yarn@v4
22+
with:
23+
cmd: install
2024
- run: yarn build
2125
- run: rm .gitignore
2226
- run: ls
@@ -39,7 +43,7 @@ jobs:
3943
# get the latest release number
4044
# LAST_VERSION=$(curl --silent "https://api.github.com/repos/homerchen19/github-file-icons/releases/latest" | jq -r .tag_name)
4145
LAST_VERSION=${{ github.event.release.tag_name }}
42-
46+
4347
# remove the "v" from the version num. xcode uploads do not work with non numberic versions.
4448
LAST_VERSION=${LAST_VERSION/v/}
4549

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"ts-loader": "^9.5.1",
5656
"typescript": "^5.3.3",
5757
"web-ext": "^7.11.0",
58-
"webpack": "^5.72.1",
58+
"webpack": "^5.97.1",
5959
"webpack-cli": "^6.0.1",
6060
"webpack-ext-reloader": "^1.1.13",
6161
"write-file-webpack-plugin": "^4.5.1"

0 commit comments

Comments
 (0)