mirror of
https://github.com/jgthms/bulma.git
synced 2024-12-12 13:28:30 +00:00
25 lines
669 B
YAML
25 lines
669 B
YAML
|
name: End-to-end tests
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
cypress-run:
|
||
|
runs-on: ubuntu-20.04
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
- uses: ruby/setup-ruby@v1
|
||
|
with:
|
||
|
ruby-version: 2.7
|
||
|
- name: Install dependencies
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
run: |
|
||
|
gem install jekyll bundler
|
||
|
- name: Cypress run
|
||
|
uses: cypress-io/github-action@v2
|
||
|
with:
|
||
|
working-directory: docs
|
||
|
install-command: npm install
|
||
|
build: npm run bulma-sass
|
||
|
start: jekyll serve --host 127.0.0.1 --port 4000
|
||
|
wait-on: "http://127.0.0.1:4000"
|