@75lb/ghci

0.1.7 • Public • Published

view on npm npm module downloads Gihub repo dependents Gihub package dependents Node.js CI js-standard-style

@75lb/ghci

Add a Github CI test workflow. This command:

$ npm install -g @75lb/ghci
$ ghci master

...adds this workflow config:

$ cat .github/workflows/node.js.yml
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12, 14, 15, 16]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v2
      with:
        node-version: ${{ matrix.node-version }}
        cache: 'npm'
    - run: npm ci
    - run: npm test


© 2021-23 Lloyd Brookes <75pound@gmail.com>.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @75lb/ghci

      Weekly Downloads

      8

      Version

      0.1.7

      License

      MIT

      Unpacked Size

      3.96 kB

      Total Files

      4

      Last publish

      Collaborators

      • 75lb