Skip to content

test: update test file according to updated dependencies #73

test: update test file according to updated dependencies

test: update test file according to updated dependencies #73

Workflow file for this run

name: runnable
on: [ push, pull_request ]
jobs:
runnable:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x, 15.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.x ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm install
npm install -g typescript
npm install -g ts-node
- name: Run with CommonJS
run: node example/commonjs.js
- name: Run with ES6
run: ts-node example/es6.ts