Skip to content

Commit 6382b20

Browse files
committed
ci(actions): update deprecated actions
1 parent 2573702 commit 6382b20

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ 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
2323
cache: 'npm'
@@ -53,10 +53,10 @@ jobs:
5353
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 }}
6262
cache: 'npm'

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ 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
3131
cache: 'npm'
@@ -40,7 +40,7 @@ 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:
4545
path: './docs/dist'
4646

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ 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
1818
cache: 'npm'
@@ -36,10 +36,10 @@ 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
4545
registry-url: 'https://registry.npmjs.org/'
@@ -64,12 +64,12 @@ 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
7575
registry-url: 'https://npm.fontawesome.com/'
@@ -78,7 +78,7 @@ jobs:
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)