Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate V3 to V4 in github actions #1240

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
group: ${{ github.ref }}-${{inputs.name}}-docs
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v16.19.1
- name: Install dependencies
Expand All @@ -57,7 +57,7 @@ jobs:
pushd apps/docs
npm run build
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-docs
path: apps/docs/build
Expand All @@ -71,12 +71,12 @@ jobs:
environment: ${{inputs.environment}}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: xLabs/portal-bridge-ui
ref: ${{inputs.advanced-tools-branch}}
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Setup Git
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
cd build
npm run set-version
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-advanced-tools
path: build
Expand All @@ -117,11 +117,11 @@ jobs:
cancel-in-progress: true
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout Portal Bridge
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
- name: Build Redirects
Expand All @@ -132,7 +132,7 @@ jobs:
npm ci
npm run build
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-redirects
path: apps/redirects/dist
Expand All @@ -145,11 +145,11 @@ jobs:
environment: ${{inputs.environment}}
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout Rewards Dashboard
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
- name: Build Rewards Dashboard
Expand All @@ -163,7 +163,7 @@ jobs:
npm ci
npm run build
- name: Upload Rewards Dashboard Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-rewards-dashboard
path: apps/rewards-dashboard/dist
Expand All @@ -179,11 +179,11 @@ jobs:
pkg-version: ${{ steps.set-version.outputs._PKG_VERSION }}
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout Custom Wormhole Connect Loader
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
path: connect-loader
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
echo 'VITE_APP_VERSION=$npm_package_version' > .env
npm run build:usdc-bridge
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-usdc-bridge
path: connect-loader/apps/connect/dist
Expand All @@ -229,11 +229,11 @@ jobs:
pkg-version: ${{ steps.set-version.outputs._PKG_VERSION }}
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout Custom Wormhole Connect Loader
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
path: connect-loader
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
echo 'VITE_APP_VERSION=$npm_package_version' > .env
npm run build:token-bridge
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-token-bridge
path: connect-loader/apps/connect/dist
Expand All @@ -278,11 +278,11 @@ jobs:
pkg-version: ${{ steps.set-version.outputs._PKG_VERSION }}
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout Custom Wormhole Connect Loader
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
path: connect-loader
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
echo 'VITE_APP_VERSION=$npm_package_version' > .env
npm run build:tbtc-bridge
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-tbtc-bridge-v1
path: connect-loader/apps/connect-v1/dist
Expand All @@ -327,11 +327,11 @@ jobs:
pkg-version: ${{ steps.set-version.outputs._PKG_VERSION }}
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout Custom Wormhole Connect Loader
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.project-branch }}
path: connect-loader
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
echo 'VITE_APP_VERSION=$npm_package_version' > .env
npm run build:token-bridge
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-token-bridge-v1
path: connect-loader/apps/connect-v1/dist
Expand All @@ -385,53 +385,53 @@ jobs:
packages: write
steps:
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-token-bridge
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-tbtc-bridge-v1
path: tbtc-bridge
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-token-bridge-v1
path: cosmos
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-usdc-bridge
path: usdc-bridge
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-advanced-tools
path: advanced-tools
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-rewards-dashboard
path: rewards-dashboard
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-docs
path: docs
- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-redirects
- name: Set up GitHub NPM registry
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v16.19.1
registry-url: https://npm.pkg.github.com
- name: Create Package.json
run: |
jq -n --arg version ${{ needs.token-bridge.outputs.pkg-version }} '{"name": "@xlabs/portal-bridge-ui", "version": $version }' > package.json
- name: Upload Portal Bridge Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-all
path: .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
working-directory: ./apps/connect
run: npm ci
Expand All @@ -25,11 +25,11 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
working-directory: ./apps/connect
run: npm ci
Expand All @@ -40,11 +40,11 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: v18.17.1
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
working-directory: ./apps/connect
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: preview
- name: Setup Git
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: testnet
- name: Setup Git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
environment: Cloudflare-Preview
steps:
- name: Checkout preview branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: preview
- name: Setup Git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
environment: Cloudflare-Testnet
steps:
- name: Checkout testnet branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: testnet
- name: Setup Git
Expand Down
Loading