summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/node.js.yml23
1 files changed, 14 insertions, 9 deletions
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
index 09d7be8..76f1e7f 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-name: Node.js CI
+name: CI Checks
on:
push:
@@ -10,7 +10,7 @@ on:
branches: [ master, beta ]
jobs:
- build:
+ unit_tests:
runs-on: ubuntu-latest
@@ -22,22 +22,27 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Node
+ # Install Node
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- - run: npm ci
- - run: npm run bootstrap:ci
- - run: npm run test:browser
+ - run: node -v
- # Deno
+ # Install Deno
- name: Setup Deno (${{ matrix.deno-version }})
uses: maximousblk/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}
- run: deno -V
+
+ # Install Lerna deps
+ - run: npm ci
+ - run: npm run bootstrap:ci
+
+ # Test browser
+ - run: npm run test:browser
+
+ # Test server, typescript-types
- run: npm run test:server
- run: npm run test:types
- - run: npm run build:server
- - run: npm run build:types