Skip to content

Commit

Permalink
Merge pull request #41 from SplittyDev/fix/worker-deploy
Browse files Browse the repository at this point in the history
Update worker deployment
  • Loading branch information
SplittyDev committed Mar 7, 2024
2 parents 1212ea5 + aae00dd commit f18035b
Show file tree
Hide file tree
Showing 9 changed files with 269 additions and 414 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
cargo-deny:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
2 changes: 1 addition & 1 deletion .github/workflows/spacebadgers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
test:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup toolchain install stable --profile default
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
test:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup toolchain install stable --profile default
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
test:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup toolchain install stable --profile default
Expand All @@ -35,11 +35,18 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup toolchain install stable --profile minimal
- run: yarn
- name: Enable corepack
run: corepack enable
- name: Use Node 21
uses: actions/setup-node@v4
with:
node-version: 21
cache: yarn
- run: yarn install --immutable
working-directory: ./badgers-worker
- name: Deploy to Cloudflare
run: npx wrangler deploy
Expand Down
Loading

0 comments on commit f18035b

Please sign in to comment.