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

chore: Update workflow #214

Merged
merged 1 commit into from
Dec 24, 2024
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
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
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
Loading