Skip to content

Commit

Permalink
Update deployRelease.yml
Browse files Browse the repository at this point in the history
Set node version to 22.4.x
  • Loading branch information
shammowla authored Jul 18, 2024
1 parent 54cc383 commit a9a1d79
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/deployRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,19 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 22.4.x
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.ALLOY_BOT_GITHUB_SSH_PRIVATE_KEY }}
${{ secrets.CDN_PRIVATE_KEY }}
- uses: actions/cache@v4
id: npm-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ secrets.NPM_CACHE_VERSION }} # increment NPM_CACHE_VERSION secret to force cache reset
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- run: ./scripts/deploy.js ${{ github.event.inputs.version }} latest
env:
Expand All @@ -59,12 +65,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 22.4.x
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.ALLOY_BOT_GITHUB_SSH_PRIVATE_KEY }}
${{ secrets.CDN_PRIVATE_KEY }}
- uses: actions/cache@v2
id: npm-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ secrets.NPM_CACHE_VERSION }} # increment NPM_CACHE_VERSION secret to force cache reset
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
Expand Down

0 comments on commit a9a1d79

Please sign in to comment.