Skip to content

ci: remove example/package.json #29

ci: remove example/package.json

ci: remove example/package.json #29

Workflow file for this run

name: runnable
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
working-directory: example
jobs:
runnable:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm install leo-profanity
npm install -g typescript
npm install -g ts-node
- name: Run with CommonJS
run: node commonjs.js
- name: Run with ES6
run: ts-node es6.ts