Skip to content

Merge pull request #679 from codeforpdx/hotfix-take-picture-modal-siz… #2508

Merge pull request #679 from codeforpdx/hotfix-take-picture-modal-siz…

Merge pull request #679 from codeforpdx/hotfix-take-picture-modal-siz… #2508

Workflow file for this run

name: Continuous Integration
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- Master
- Development
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Build
run: |
npm ci
npm run build
- name: Upload frontend assets
uses: actions/upload-pages-artifact@v1
with:
path: './dist'
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Code Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
- name: eslint
run: npm run lint
- name: prettier
run: npm run prettier:check
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Code Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
- name: vitest
run: npm run test:ci