Skip to content

Commit fef7090

Browse files
authored
Update workflow actions (#1320)
* Update checkout action in workflows * Update node version and workflow action
1 parent f55b330 commit fef7090

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99

1010
- name: Setup Node
11-
uses: actions/setup-node@v3.8.1
11+
uses: actions/setup-node@v4
1212
with:
13-
node-version: '18'
13+
node-version: 20
1414

1515
- run: npm install
1616
# - run: npm run build

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: ${{ github.event_name == 'push' }}
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
ref: main
1717
fetch-depth: 0
1818

1919
- name: Setup Node
20-
uses: actions/setup-node@v3.8.1
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: '18'
22+
node-version: 20
2323

2424
- run: npm install
2525
- name: Build Static Docs

.github/workflows/image-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Repo
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Compress Images
1919
id: calibre
2020
uses: calibreapp/image-actions@main

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout Actions Repository
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1111

1212
- name: Check spelling
1313
uses: crate-ci/typos@master

0 commit comments

Comments
 (0)