Skip to content

Merge pull request #111 from jachin/110-refactor-right-slot #101

Merge pull request #111 from jachin/110-refactor-right-slot

Merge pull request #111 from jachin/110-refactor-right-slot #101

Workflow file for this run

on: [push]
jobs:
tests-and-linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install NPM Dependencies
run: npm install
- name: Install Elm Tools
run: npx elm-tooling install
- name: elm-format
run: npx elm-format --validate
- name: eslint
run: npm run lint
- name: elm-review
run: npx elm-review
- name: elm unit tests
run: npm run test
- name: build library
run: npm run build
- name: web tests
run: npm run web-test-runner
# cypress-run:
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Cypress run
# uses: cypress-io/github-action@v4
# with:
# browser: chrome
# start: npm run serve