Enable livereload during development mode #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request: | |
branches: | |
- dev-1047 | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.1 | |
- name: Use Node version defined in manifest | |
uses: volta-cli/action@v4.0.1 | |
- name: Node.js version | |
run: node -v | |
- name: npm version | |
run: npm -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Check for linting errors | |
run: npm run grunt lint | |
karma: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.1 | |
- name: Use Node version defined in manifest | |
uses: volta-cli/action@v4.0.1 | |
- name: Node.js version | |
run: node -v | |
- name: npm version | |
run: npm -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Karma tests | |
run: npm run grunt karma | |
casper-drawing: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.1 | |
- name: Use Node version defined in manifest | |
uses: volta-cli/action@v4.0.1 | |
- name: Node.js version | |
run: node -v | |
- name: npm version | |
run: npm -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Casper Drawing tests | |
run: npm run grunt casper-drawing-test | |
casper-integration: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.1 | |
- name: Use Node version defined in manifest | |
uses: volta-cli/action@v4.0.1 | |
- name: Node.js version | |
run: node -v | |
- name: npm version | |
run: npm -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Casper Integration tests | |
run: npm run grunt casper-integration-test |