Skip to content

Commit 9189dac

Browse files
authored
chore: upgrade webpack to v5 and fixed workflow (#7)
1 parent 9e5bd22 commit 9189dac

File tree

8 files changed

+5253
-5263
lines changed

8 files changed

+5253
-5263
lines changed

.github/workflows/autotag.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: Create Tag on package.json update
22

33
on:
44
push:
5-
branches:
5+
branches:
66
- master
77

88
jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
with:
14-
token: '${{ secrets.GH_AUTH_TOKEN }}'
15-
fetch-depth: 0
16-
- uses: butlerlogic/action-autotag@master
17-
with:
18-
GITHUB_TOKEN: "${{ secrets.GH_AUTH_TOKEN }}"
19-
tag_prefix: "v"
12+
- uses: actions/checkout@v4
13+
with:
14+
token: "${{ secrets.GH_AUTH_TOKEN }}"
15+
fetch-depth: 0
16+
- uses: butlerlogic/action-autotag@2.1.1
17+
with:
18+
GITHUB_TOKEN: "${{ secrets.GH_AUTH_TOKEN }}"
19+
tag_prefix: "v"

.github/workflows/npm-publish-pro.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ name: Publish to NPM PRO
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
publish-npm:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
13-
- uses: actions/setup-node@v1
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 10.16.3
15+
node-version: 22.11.0
1616
- name: Install NPM
1717
run: npm ci --progress=false
1818
- name: Set Gemfury Config
@@ -22,4 +22,4 @@ jobs:
2222
- name: Download & Build Icons
2323
run: npm i @iconscout/unicons@latest && npm run generate
2424
- name: Publish to Gemfury
25-
run: npm publish
25+
run: npm publish

.github/workflows/npm-publish-rc.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,22 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- if: github.event_name == 'push'
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
- if: github.event_name == 'pull_request'
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
with:
1818
ref: ${{ github.head_ref }}
19-
- uses: actions/setup-node@v1
19+
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 10.16.3
21+
node-version: 22.11.0
2222
- name: Download & Build Icons
2323
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate
2424
- name: Create Pull Request
25-
uses: peter-evans/create-pull-request@v3
25+
uses: peter-evans/create-pull-request@v7
2626
with:
2727
token: ${{ secrets.GH_AUTH_TOKEN }}
2828
title: Updated Icons
2929
- name: Publish to NPM
30-
uses: primer/publish@v2.0.0
30+
run: npm publish
3131
env:
32-
GITHUB_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
33-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.github/workflows/npm-publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ name: Publish to NPM
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
publish-npm:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
13-
- uses: actions/setup-node@v1
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 10.16.3
15+
node-version: 22.11.0
1616
- name: Download & Build Icons
1717
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate
1818
- name: Publish to NPM
1919
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc && npm publish
2020
env:
21-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
21+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.11.0

0 commit comments

Comments
 (0)