Skip to content

Merge pull request #749 from abraham/node #738

Merge pull request #749 from abraham/node

Merge pull request #749 from abraham/node #738

Workflow file for this run

name: Index
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm run test
- name: module test
run: |
node --input-type=module --eval "import * as m from '@abraham/reflection'; console.log(m)"
node --input-type=commonjs --eval "const m = require('@abraham/reflection'); console.log(m)"
- run: npm run pkg-ok
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}