mirror of
https://github.com/fluxscape/fluxscape.git
synced 2026-01-11 14:52:54 +01:00
Initial commit
Co-Authored-By: Eric Tuvesson <eric.tuvesson@gmail.com> Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com> Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com> Co-Authored-By: Anders Larsson <64838990+anders-topp@users.noreply.github.com> Co-Authored-By: Johan <4934465+joolsus@users.noreply.github.com> Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com> Co-Authored-By: victoratndl <99176179+victoratndl@users.noreply.github.com>
This commit is contained in:
41
.github/workflows/test-platform-node.yml
vendored
Normal file
41
.github/workflows/test-platform-node.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: Test noodl/platform-node
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- 'packages/noodl-platform/**'
|
||||
- 'packages/noodl-platform-node/**'
|
||||
- 'packages/noodl-platform-electron/**'
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- 'packages/noodl-platform/**'
|
||||
- 'packages/noodl-platform-node/**'
|
||||
- 'packages/noodl-platform-electron/**'
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test_platform:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup node env 🏗
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install dependencies 🏗
|
||||
run: npm install
|
||||
|
||||
- name: Run tests
|
||||
run: npx lerna exec --scope @noodl/platform-node -- npm run test
|
||||
|
||||
- name: Print coverage
|
||||
run: npx lerna exec --scope @noodl/platform-node -- npm run test:coverage
|
||||
Reference in New Issue
Block a user