Skip to content

Workflow.

Workflow. #1

Workflow file for this run

---
name: UnitTest
# Controls when the action will run.
on:
push:
# branches: ["dev", "dev-update"]
pull_request:
workflow_dispatch:
jobs:
UnitTest:
strategy:
matrix:
os: [ubuntu-22.04]
# os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
# - name: CheTckout
# run: npm install
# # - if: runner.os == 'MacOS'
# # run: |
# # npm i gulp gulp-cli -g
# # gulp
# # - if: runner.os == 'Linux'
# # run: xvfb-run -a npm test
# # - if: runner.os != 'Linux'
# - run: npm run test