0.1.7 • Published 2 years ago
@75lb/ghci v0.1.7
@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\.