Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Apr 8, 2024
1 parent 05501e4 commit 4cbe1ad
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/alphas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
name: Test release
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -45,18 +45,18 @@ jobs:
name: Build & deploy alpha*.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/binance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
name: Test release
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.ALPHA_SSH_KEY }}

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -47,26 +47,26 @@ jobs:
name: Build & deploy binance.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.ALPHA_SSH_KEY }}

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
name: ci
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
name: Test release
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -45,18 +45,18 @@ jobs:
name: Build & deploy testing.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -70,7 +70,7 @@ jobs:
VUE_APP_INFURA_KEY: ${{ secrets.VUE_APP_INFURA_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -88,7 +88,7 @@ jobs:

# Invalidate Cloudfront (this action)
- name: invalidate
uses: chaitanyapotti/cloudfront-update-distribution@v2
uses: chaitanyapotti/cloudfront-update-distribution@v4
with:
cloudfront-distribution-id: ${{ secrets.DISTRIBUTION_TESTING_TOR_US }}
cloudfront-invalidation-path: '/*'
Expand All @@ -99,18 +99,18 @@ jobs:
name: Build & deploy lrc.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -124,7 +124,7 @@ jobs:
VUE_APP_INFURA_KEY: ${{ secrets.VUE_APP_INFURA_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -142,7 +142,7 @@ jobs:

# Invalidate Cloudfront (this action)
- name: invalidate
uses: chaitanyapotti/cloudfront-update-distribution@v2
uses: chaitanyapotti/cloudfront-update-distribution@v4
with:
cloudfront-distribution-id: ${{ secrets.DISTRIBUTION_LRC_TOR_US }}
cloudfront-invalidation-path: '/*'
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
name: Test release
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.ALPHA_SSH_KEY }}

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -47,26 +47,26 @@ jobs:
name: Build & deploy app.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.ALPHA_SSH_KEY }}

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -108,18 +108,18 @@ jobs:
name: Build & deploy bnb.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -133,7 +133,7 @@ jobs:
VUE_APP_INFURA_KEY: ${{ secrets.VUE_APP_INFURA_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -151,7 +151,7 @@ jobs:

# Invalidate Cloudfront (this action)
- name: invalidate
uses: chaitanyapotti/cloudfront-update-distribution@v2
uses: chaitanyapotti/cloudfront-update-distribution@v4
with:
cloudfront-distribution-id: ${{ secrets.DISTRIBUTION_BNB_TOR_US }}
cloudfront-invalidation-path: '/*'
Expand All @@ -162,18 +162,18 @@ jobs:
name: Build & deploy polygon.tor.us
strategy:
matrix:
node: ['18.x']
node: ['20.x']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

needs: test

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

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -187,7 +187,7 @@ jobs:
VUE_APP_INFURA_KEY: ${{ secrets.VUE_APP_INFURA_KEY }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -205,7 +205,7 @@ jobs:

# Invalidate Cloudfront (this action)
- name: invalidate
uses: chaitanyapotti/cloudfront-update-distribution@v2
uses: chaitanyapotti/cloudfront-update-distribution@v4
with:
cloudfront-distribution-id: ${{ secrets.DISTRIBUTION_POLYGON_TOR_US }}
cloudfront-invalidation-path: '/*'
Expand Down

0 comments on commit 4cbe1ad

Please sign in to comment.