Skip to content

Roda example (#100)

Roda example (#100) #2

Workflow file for this run

name: Examples
on: push
jobs:
rack:
runs-on: ubuntu-latest
name: Rack example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '2.7'
working-directory: examples/rack
- run: bundle exec parklife build
working-directory: examples/rack
- run: test -f build/index.html
working-directory: examples/rack
rails:
runs-on: ubuntu-latest
name: Rails example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
working-directory: examples/rails
- run: bin/static-build
working-directory: examples/rails
- run: test -f build/index.html
working-directory: examples/rails
roda:
runs-on: ubuntu-latest
name: Roda example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
working-directory: examples/roda
- run: bundle exec parklife build
working-directory: examples/roda
- run: test -f build/index.html
working-directory: examples/roda
sinatra:
runs-on: ubuntu-latest
name: Sinatra example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '2.7'
working-directory: examples/sinatra
- run: bundle exec parklife build
working-directory: examples/sinatra
- run: test -f build/index.html
working-directory: examples/sinatra