Skip to content

Commit

Permalink
Update a bunch of action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarl committed Apr 18, 2024
1 parent b2e29e3 commit 4496cd5
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16

- uses: c-hive/gha-npm-cache@v1

- run: npm install

- name: Lint
Expand All @@ -34,10 +32,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16

Expand All @@ -53,15 +51,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16

- uses: c-hive/gha-npm-cache@v1

- run: npm install

- name: Run vitest
Expand All @@ -72,10 +68,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

# Setup cache
- name: Cache Docker layers
Expand All @@ -87,14 +83,14 @@ jobs:
${{ runner.os }}-buildx-
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Tag Build
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/${{ github.repository }}
Expand Down Expand Up @@ -131,10 +127,10 @@ jobs:

steps:
- name: Checkout to branch
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Tag Build
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/${{ github.repository }}
Expand All @@ -149,7 +145,7 @@ jobs:
cat k8s-context
- name: Set up kubectl
uses: matootie/[email protected].0
uses: matootie/[email protected].1
with:
personalAccessToken: ${{ secrets.DIGITALOCEAN_TOKEN }}
clusterName: k8s-rf
Expand Down

0 comments on commit 4496cd5

Please sign in to comment.