Update GH Action workflow

This commit is contained in:
Jeremy Thomas 2023-12-14 00:00:48 +00:00
parent 7f20009ec1
commit 489a81b72f

View File

@ -2,23 +2,23 @@ name: End-to-end tests
on: [push] on: [push]
jobs: jobs:
cypress-run: cypress-run:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1 - name: Setup ruby
uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.7 ruby-version: 3.2.2
- name: Install dependencies - name: Install gems
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: gem install jekyll bundler
gem install jekyll bundler # - name: Run Cypress
- name: Cypress run # uses: cypress-io/github-action@v2
uses: cypress-io/github-action@v2 # with:
with: # working-directory: docs
working-directory: docs # install-command: npm install
install-command: npm install # build: npm run bulma-sass
build: npm run bulma-sass # start: jekyll serve --host 127.0.0.1 --port 4000
start: jekyll serve --host 127.0.0.1 --port 4000 # wait-on: "http://127.0.0.1:4000"
wait-on: "http://127.0.0.1:4000"