Skip to content

webapp: initialize webapp #5

webapp: initialize webapp

webapp: initialize webapp #5

Workflow file for this run

name: webapp
on:
push:
branches:
- main
pull_request: {}
concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: webapp
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: webapp/package-lock.json
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
test:
name: "Test"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: webapp/package-lock.json
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run test:ember