Skip to content

Commit 1d4cb41

Browse files
authored
refactor: updating GH action (#43)
* refactor: updating GH action Prevent the pipeline throwing an error: > Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ * Update publish.yml * Update test.yml * Update codeql-analysis.yml
1 parent c2ee65d commit 1d4cb41

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20
14+
node-version-file: .nvmrc
1515
registry-url: https://registry.npmjs.org/
1616
always-auth: true
1717
- run: yarn install --frozen-lockfile

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
os: [macos-13, macos-14, macos-15, windows-2019, windows-2022]
1717
steps:
1818
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
19+
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 20
21+
node-version-file: .nvmrc
2222
- run: yarn install --frozen-lockfile
2323
- run: yarn ci
24-
- uses: actions/upload-artifact@v3
24+
- uses: actions/upload-artifact@v4
2525
if: always()
2626
with:
2727
name: artifacts
@@ -34,9 +34,9 @@ jobs:
3434
os: [macos-14]
3535
steps:
3636
- uses: actions/checkout@v3
37-
- uses: actions/setup-node@v3
37+
- uses: actions/setup-node@v4
3838
with:
39-
node-version: 20
39+
node-version-file: .nvmrc
4040
- run: yarn install --frozen-lockfile
4141
- run: yarn ci:ignore-tcc-db
4242
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)