Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
name: Check code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
- uses: actions/cache@v5
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -37,4 +37,3 @@ jobs:

- name: Test build
run: yarn build

16 changes: 4 additions & 12 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,13 @@ jobs:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: pnpm/action-setup@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
version: 8
version: '20'

- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
id: smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
Expand All @@ -35,4 +28,3 @@ jobs:
enable_notify_slack: true
slack_channel: public-ringdao-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

14 changes: 4 additions & 10 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@ jobs:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: pnpm/action-setup@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
version: 8
version: '20'

- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
id: smart-vercel
with:
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ jobs:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: darwinia-network/devops
path: .github

- uses: pnpm/action-setup@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
version: 8
version: '20'

- uses: ./.github/actions/smart-vercel
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
id: smart-vercel
with:
Expand Down
Loading