Skip to content

Commit 8ebe563

Browse files
committed
ci(actions): update deprecated actions
1 parent 2573702 commit 8ebe563

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Code
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
1313

1414
- name: Lint Commits against conventional commits spec with commitlint
1515
uses: wagoid/commitlint-github-action@v6
1616
with:
1717
configFile: commitlint.config.ts
1818

1919
- name: Setup Node.js 22.x
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: 22.x
23-
cache: 'npm'
23+
cache: "npm"
2424

2525
- name: Install dependencies
2626
run: npm ci
@@ -49,17 +49,17 @@ jobs:
4949
exclude:
5050
# For v7.x core, allow all icon versions
5151
# For v6.x exclude v7.x icons
52-
- free-solid-svg-icons: '7.x'
53-
fontawesome-svg-core: '6.x'
52+
- free-solid-svg-icons: "7.x"
53+
fontawesome-svg-core: "6.x"
5454

5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@v6
5757

5858
- name: Use Node.js ${{ matrix.node-version }}
59-
uses: actions/setup-node@v3
59+
uses: actions/setup-node@v6
6060
with:
6161
node-version: ${{ matrix.node-version }}
62-
cache: 'npm'
62+
cache: "npm"
6363

6464
- name: Install base dependencies
6565
run: npm ci

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
id-token: write
1212

1313
concurrency:
14-
group: 'API Reference Documentation'
14+
group: "API Reference Documentation"
1515
cancel-in-progress: true
1616

1717
jobs:
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout Code
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Setup Node.js 22.x
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v6
2929
with:
3030
node-version: 22.x
31-
cache: 'npm'
31+
cache: "npm"
3232

3333
- name: Install Node Dependencies
3434
run: npm ci
@@ -40,9 +40,9 @@ jobs:
4040
uses: actions/configure-pages@v5
4141

4242
- name: Upload Artifacts
43-
uses: actions/upload-pages-artifact@v3
43+
uses: actions/upload-pages-artifact@v4
4444
with:
45-
path: './docs/dist'
45+
path: "./docs/dist"
4646

4747
- name: Deploy to GitHub Pages
4848
id: deployment

.github/workflows/publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Code
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
1313

1414
- name: Setup Node.js 22.x
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v6
1616
with:
1717
node-version: 22.x
18-
cache: 'npm'
18+
cache: "npm"
1919

2020
- name: Install dependencies
2121
run: npm ci
@@ -36,14 +36,14 @@ jobs:
3636
needs: validate
3737
steps:
3838
- name: Checkout Code
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040

4141
- name: Setup Node.js 22.x
42-
uses: actions/setup-node@v3
42+
uses: actions/setup-node@v6
4343
with:
4444
node-version: 22.x
45-
registry-url: 'https://registry.npmjs.org/'
46-
cache: 'npm'
45+
registry-url: "https://registry.npmjs.org/"
46+
cache: "npm"
4747

4848
- name: Install dependencies
4949
run: npm ci
@@ -64,21 +64,21 @@ jobs:
6464
needs: validate
6565
steps:
6666
- name: Checkout Code
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@v6
6868
with:
6969
ref: main # Since the prior publish step will have pushed a new release tag, we need to ensure we are on the main branch to avoid issues with detached HEAD state.
7070

7171
- name: Setup Node.js 22.x
72-
uses: actions/setup-node@v3
72+
uses: actions/setup-node@v6
7373
with:
7474
node-version: 22.x
75-
registry-url: 'https://npm.fontawesome.com/'
76-
cache: 'npm'
75+
registry-url: "https://npm.fontawesome.com/"
76+
cache: "npm"
7777

7878
- name: Authenticate with FontAwesome Pro Registry
7979
env:
8080
TOKEN: ${{ secrets.CLOUDSMITH_PUBLISH_TOKEN }}
81-
run: echo -e "token\n${TOKEN}\n" | npm login --registry=https://npm.fontawesome.com/
81+
run: echo "//npm.fontawesome.com/:_authToken=${TOKEN}" > ./.npmrc
8282

8383
- name: Publish Release on FontAwesome Pro Registry
8484
run: npm publish --tag latest --registry=https://npm.fontawesome.com/

0 commit comments

Comments
 (0)