Skip to content

Commit

Permalink
Merge pull request #214 from bnb-chain/wenty/api
Browse files Browse the repository at this point in the history
chore: Update workflow
  • Loading branch information
wenty22 authored Dec 24, 2024
2 parents 16d752a + 39ac71c commit fca0417
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- alpha
- alpha/packages

paths:
- .release/**
Expand Down Expand Up @@ -45,11 +45,11 @@ jobs:
node common/scripts/install-run-rush.js build -t @bnb-chain/canonical-bridge-widget
- name: Enter pre mode
if: ${{steps.get-branch.outputs.branch == 'alpha'}}
if: ${{steps.get-branch.outputs.branch == 'alpha/packages'}}
run: cd .release && pnpm ci:enter

- name: Create and publish alpha versions
if: ${{steps.get-branch.outputs.branch == 'alpha'}}
if: ${{steps.get-branch.outputs.branch == 'alpha/packages'}}
uses: changesets/action@v1
with:
version: pnpm ci:alpha-version
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- alpha/server

paths:
- apps/canonical-bridge-server/**
Expand Down
3 changes: 3 additions & 0 deletions apps/canonical-bridge-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM busybox:1.36.1 as builder
FROM node:20-buster

RUN useradd -u 9000 appuser
USER appuser

WORKDIR /opt/deploy

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion apps/canonical-bridge-server/src/common/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const STARGATE_CHAIN_INFO = [
{
chainId: 10,
chainName: 'Optimism',
endpointID: 30110,
endpointID: 30111,
},
{
chainId: 14,
Expand Down

0 comments on commit fca0417

Please sign in to comment.