Skip to content

fix: packages/moleculer-twilio/package.json & packages/moleculer-twil… #28

fix: packages/moleculer-twilio/package.json & packages/moleculer-twil…

fix: packages/moleculer-twilio/package.json & packages/moleculer-twil… #28

Workflow file for this run

name: CI test
on:
push: {}
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm run setup
- name: Execute unit tests
run: npm test