Skip to content

ci: re-adjust node.js version #31

ci: re-adjust node.js version

ci: re-adjust node.js version #31

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: [ 14.x, 15.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.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