Skip to content

Merge pull request #747 from abraham/dependabot/github_actions/action… #736

Merge pull request #747 from abraham/dependabot/github_actions/action…

Merge pull request #747 from abraham/dependabot/github_actions/action… #736

Workflow file for this run

name: Index
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [14, 16, 18]
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 }}