Skip to content

Instantly share code, notes, and snippets.

@rajitha1998
Created June 22, 2021 17:31
Show Gist options
  • Save rajitha1998/8c8ba0d22dd4f2cee3020d1dbb373f94 to your computer and use it in GitHub Desktop.
Save rajitha1998/8c8ba0d22dd4f2cee3020d1dbb373f94 to your computer and use it in GitHub Desktop.
name: Ledger CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm test
env:
CI: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment