mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-20 07:12:03 +03:00
26 lines
549 B
YAML
26 lines
549 B
YAML
name: CI (Test and Build)
|
|
on: pull_request
|
|
jobs:
|
|
test-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3.0.0
|
|
|
|
- name: Setup Node.js environment
|
|
uses: actions/setup-node@v3.1.1
|
|
with:
|
|
node-version-file: ./ui/.nvmrc
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
working-directory: ./ui
|
|
|
|
- name: Run Tests
|
|
run: npm run test
|
|
working-directory: ./ui
|
|
|
|
- name: Build
|
|
run: npm run build
|
|
working-directory: ./ui
|