Skip to content

Commit

Permalink
Update GitHub Actions to use the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
roypriyanshu02 committed Apr 5, 2024
1 parent c2091c4 commit 23c5198
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/refresh-data-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

# Cache node modules for faster builds
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: site/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -29,9 +29,9 @@ jobs:
# Install Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

# Install Chromium for puppeteer
- name: Install Chromium
Expand Down Expand Up @@ -87,14 +87,14 @@ jobs:
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

# Cache node modules for faster builds
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: site/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -103,9 +103,9 @@ jobs:
# Install Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

# Clean Install npm packages
- name: Install npm packages
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/site-deploy-workflow-with-data-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

# Cache node modules for faster builds
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: site/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -38,9 +38,9 @@ jobs:
# Install Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

# Install Chromium for puppeteer
- name: Install Chromium
Expand Down Expand Up @@ -91,14 +91,14 @@ jobs:
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

# Cache node modules for faster builds
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: site/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -107,9 +107,9 @@ jobs:
# Install Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

# Clean Install npm packages
- name: Install npm packages
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/site-deploy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

# Cache node modules for faster builds
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: site/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -40,9 +40,9 @@ jobs:
# Install Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

# Clean Install npm packages
- name: Install npm packages
Expand Down

0 comments on commit 23c5198

Please sign in to comment.