Skip to content

Commit 70a5a9d

Browse files
committed
Update CI steps to Node v20
1 parent 8cc072e commit 70a5a9d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
name: Build & test
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111

1212
# Install Node
13-
- uses: actions/setup-node@v3
13+
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 20.8.0
1616
cache: 'npm'
@@ -51,15 +51,15 @@ jobs:
5151
runs-on: ubuntu-latest
5252
needs: build
5353
steps:
54-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5555

5656
- uses: actions/download-artifact@v4
5757
with:
5858
name: dist
5959
path: dist
6060

6161
- name: Deploy to Netlify
62-
uses: nwtgck/actions-netlify@v1.1
62+
uses: nwtgck/actions-netlify@v3
6363
with:
6464
publish-dir: './dist'
6565
production-branch: main # Main goes to prod, others do deploy previews
@@ -81,23 +81,24 @@ jobs:
8181
runs-on: ubuntu-latest
8282
needs: build
8383
steps:
84-
- uses: actions/checkout@v3
84+
- uses: actions/checkout@v4
8585

8686
- uses: actions/download-artifact@v4
8787
with:
8888
name: dist
8989
path: dist
9090

91-
- uses: docker/setup-buildx-action@v2
91+
- uses: docker/setup-buildx-action@v3
92+
9293
- name: Login to DockerHub
93-
uses: docker/login-action@v2
94+
uses: docker/login-action@v3
9495
with:
9596
username: ${{ secrets.DOCKERHUB_USERNAME }}
9697
password: ${{ secrets.DOCKERHUB_TOKEN }}
9798

9899
- name: Extract Docker metadata
99100
id: meta
100-
uses: docker/metadata-action@v4
101+
uses: docker/metadata-action@v5
101102
with:
102103
github-token: ${{ secrets.GITHUB_TOKEN }}
103104
images: httptoolkit/ui
@@ -107,7 +108,7 @@ jobs:
107108
type=sha
108109
109110
- name: Build and publish to Docker Hub
110-
uses: docker/build-push-action@v4
111+
uses: docker/build-push-action@v5
111112
with:
112113
context: .
113114
push: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)