Skip to content

Commit

Permalink
ci: update actions to support node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcath committed Jan 25, 2024
1 parent 5b6dc18 commit 855b0ad
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
docs: ${{ steps.filter.outputs.docs }}
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: 18
node-version: 20

- name: 💾 Cache Node Modules
id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key:
Expand All @@ -37,7 +37,7 @@ jobs:
run: npm install

- name: 🧭 Find Changes
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -65,16 +65,16 @@ jobs:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
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: 18
node-version: 20

- name: 💾 Cache Node Modules
id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key:
Expand All @@ -96,16 +96,16 @@ jobs:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
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: 18
node-version: 20

- name: 💾 Cache Node Modules
id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key:
Expand All @@ -127,16 +127,16 @@ jobs:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
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: 18
node-version: 20

- name: 💾 Cache Node Modules
id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key:
Expand All @@ -158,14 +158,14 @@ jobs:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🐳 Set up Docker Buildx
uses: docker/setup-buildx-action@v2

# Setup cache
- name: ⚡️ Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down Expand Up @@ -222,11 +222,11 @@ jobs:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 💾 Cache Node Modules (Docs)
id: node-cache-docs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: docs/node_modules
key: node-modules-docs-${{ hashFiles('docs/package-lock.json') }}
Expand Down

0 comments on commit 855b0ad

Please sign in to comment.