Skip to content

Commit

Permalink
Make deployments checkout repos, use bun global
Browse files Browse the repository at this point in the history
  • Loading branch information
tomouchuu committed Oct 16, 2023
1 parent 621a268 commit b116c33
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,17 @@ jobs:
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/frontend') == true
)
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: bun install

- name: Install Railway
run: npm i -g @railway/cli
run: bun install --global @railway/cli

- name: Set service
run: railway service frontend
Expand All @@ -89,14 +92,17 @@ jobs:
contains(needs.create-release-pr.outputs.publishedPackageNames, '@haishin/backend') == true
)
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: bun install

- name: Install Railway
run: npm i -g @railway/cli
run: bun install --global @railway/cli

- name: Set service
run: railway service backend
Expand Down

0 comments on commit b116c33

Please sign in to comment.