mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-29 11:42:41 +03:00
Merge pull request #79 from tloncorp/po/add-ci-test-build-action
Add ci workflow
This commit is contained in:
commit
ed6fe1153f
25
.github/workflows/ci.yml
vendored
Normal file
25
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user