Skip to content

Commit

Permalink
feat(ci): test ci workflow with local ceramic node
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Sep 12, 2022
1 parent 12df55a commit 0b1bcec
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
name: CI
name: CI with local ceramic

# on:
# push:
# branches: [main]
# pull_request:
# branches: [main]
on:
push:
branches: [main]
pull_request:
branches: [main]

workflow_dispatch:
inputs:
# commit hash (for frontend deploy to fleek)
commit:
description: "Branch/Commit ref"
default: "origin/ci_ceramic_service"
type: string
jobs:
build:
runs-on: ubuntu-latest

# Run a local ceramic nod to test against
services:
ceramic:
image: ceramicnetwork/js-ceramic:2.6.0-rc.1
ports:
- 7007:7007

env:
CERAMIC_CLIENT_URL: http://127.0.0.1:7007

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
Expand Down

0 comments on commit 0b1bcec

Please sign in to comment.